-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boosts now in boosts.yml (still not functioning)
- Loading branch information
Showing
2 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
src/main/java/gg/quartzdev/qxpboosts/commands/CMDcreate.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package gg.quartzdev.qxpboosts.commands; | ||
|
||
import org.bukkit.command.CommandSender; | ||
|
||
public class CMDcreate extends qCMD { | ||
|
||
public CMDcreate(String name, String label) { | ||
super(name, label); | ||
this.permissionGroup = "qxpboosts.admin"; | ||
this.permissionNode = "qxpboosts.command.create"; | ||
} | ||
|
||
@Override | ||
public boolean logic(CommandSender sender, String[] args) { | ||
return false; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# qXP-Boosts Boosts config | ||
# https://wiki.quartzdev.gg/mc/qxp-boosts/boosts.yml | ||
|
||
|
||
#<boost-name>: | ||
# multiplier: <boost-multiplier> | ||
# active: <true/false> | ||
# chance: <0-100>% | ||
# xp-sources: | ||
# - https://jd.papermc.io/paper/1.20/org/bukkit/entity/ExperienceOrb.SpawnReason.html | ||
# - Can use 'ALL' instead of listing out each one | ||
# mob-xp: | ||
# - https://jd.papermc.io/paper/1.20/org/bukkit/event/entity/CreatureSpawnEvent.SpawnReason.html | ||
# - You can also put except: <spawn-reason> | ||
|
||
# Default boost (required) | ||
# > This boost (when active) is used if a player has permission 'qxpboosts.player' but no other boosts | ||
default: | ||
multiplier: 1.25 | ||
chance: 100 | ||
active: true | ||
xp: | ||
- ALL | ||
- except: EXP_BOTTLE | ||
mob-xp: | ||
- ALL | ||
- except: SPAWNER | ||
- except: EXP_BOTTLE | ||
|
||
# Custom Boosts | ||
# These are just examples, but feel free to add any custom boost you want | ||
# > If you don't define all the options, the custom boost will use the defaults for that specific option | ||
# > Example: Since the 'double' boost does not have 'xp-sources' defined, it will default to ALL | ||
double: | ||
multiplier: 2 | ||
active: false | ||
triple: | ||
multiplier: 3 | ||
chance: 100 | ||
active: false | ||
|
||
|