Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FactionUUID Mission/Level #1385

Open
Mayxe opened this issue May 22, 2020 · 1 comment
Open

FactionUUID Mission/Level #1385

Mayxe opened this issue May 22, 2020 · 1 comment

Comments

@Mayxe
Copy link

Mayxe commented May 22, 2020

Idea

Good morning, sir,

My idea is to create fully configurable missions.
I take the idea of another faction plugin (SaberFactions) and improve it slightly.
There would be several types of missions: KILL, MINE, PLACE, FISH, TAME, BID, CONSUME
Of course all of them will be fully configurable. We will be able to add the number of missions that we want and we will earn the rewards that we want.

The other idea is to create "levels" of faction. Of course, to go from level to level you will need experience gained by doing missions. When a faction will level up, it will improve its faction by unlocking extra commands, extra members, extra allys, etc.

I think we should also put in a GUI to make things simpler and more readable for faction players.

These ideas will create more competition between factions.

Details

I don't have any level of development so I can't give you any more details on that.
But here's how SaberFaction does edit their missions:

Line 796 : https://github.com/SaberLLC/Saber-Factions/blob/1.6.x/src/main/resources/config.yml

############################################################

+------------------------------------------------------+

| Faction Missions |

+------------------------------------------------------+

############################################################
MissionGUISize: 4
Missions-Enabled: true
Missions-GUI-Title: '&8&lFaction Missions'
MaximumMissionsAllowedAtOnce: 1
Mission-Progress-Format: '&b&lProgression: &f{progress}&7/&e{total}'
Randomization:
Enabled: false
Start-Item:
# Allowed means that they are under maximum allowed missions at one AND if applicable they have not completed every mission more than once
Allowed:
Name: "&aStart!"
Material: GREEN_STAINED_GLASS_PANE
Lore: "&2Start a new mission!"
Disallowed:
# Placeholder %reason% supported throughout this section
Name: "&4Cannot start new mission"
Material: GRAY_STAINED_GLASS_PANE
Lore:
- '&4%reason%'
# in default configuration you will need to change the GUI size to 4 and for best results change the fillitem rows to 4 as well.
Slot: 31
DenyMissionsMoreThenOnce: true #this setting to true, means that if they complete a mission they cannot redo the same mission

#Mission Types: KILL, MINE, PLACE, FISH, TAME, ENCHANT, CONSUME
Missions:
FillItem:
Material: BLACK_STAINED_GLASS_PANE
Rows: 4
sugarcane:
Slot: 11
Material: "SUGAR_CANE"
Name: "&f10,000 &2Sugar Cane"
Lore:
- "&b&lMine &f&n10,000&r &2Sugar Cane"
Mission:
Type: "MINE"
Material: "SUGAR_CANE"
Amount: 10000
Reward:
Commands: ["f points add %faction% 100"

@Mayxe
Copy link
Author

Mayxe commented Jul 15, 2020

Or the faction can be upgraded if players pay $X. Like SavageFaction does. It's much simpler and it allows you to create competition between the faction and an additional goal.
You can unlock more members, more power, more allies...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants