Skip to content

Commit

Permalink
2.8.5
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGaming999 committed Jun 23, 2022
1 parent 3d40107 commit 46f578a
Show file tree
Hide file tree
Showing 71 changed files with 8,436 additions and 7,067 deletions.
21 changes: 21 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.8">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="src"/>
<classpathentry kind="lib" path="C:/Users/gamin/Downloads/Vault (1).jar"/>
<classpathentry kind="lib" path="C:/Users/gamin/Downloads/HolographicDisplays.jar"/>
<classpathentry kind="lib" path="C:/Users/gamin/Downloads/ActionUtil-1.4.jar"/>
<classpathentry kind="lib" path="C:/Users/gamin/Downloads/PermissionsEx-1.23.4.jar"/>
<classpathentry kind="lib" path="C:/Users/gamin/Downloads/GroupManager.jar"/>
<classpathentry kind="lib" path="C:/Users/gamin/Downloads/PlaceholderAPI-2.10.10.jar"/>
<classpathentry kind="lib" path="C:/Users/gamin/Downloads/MVdWPlaceholderAPI.jar"/>
<classpathentry kind="lib" path="C:/Users/gamin/Downloads/spigot-1.16.1.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/5"/>
<classpathentry kind="lib" path="C:/Users/gamin/Downloads/DecentHolograms-2.2.7.jar"/>
<classpathentry kind="lib" path="C:/MyFiles/Programs/Minecraft Server 1.8.8/plugins/LuckPerms-Bukkit-5.4.13.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
4 changes: 2 additions & 2 deletions commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ commands:
aliases: [prestigelist]
rebirth:
enable: true
description: "reborn again but with amazing stuff"
description: "resets your stages"
permission: "prisonranksx.rebirth"
permission-message: "&cYou don't have permission to execute this command."
usage: "/<command>"
Expand All @@ -80,7 +80,7 @@ commands:
aliases: [rebirthlist, rblist]
prx:
enable: true
description: "manage players or ranks,prestiges and rebirths settings"
description: "manage players or ranks, prestiges and rebirths settings"
permission: "prisonranksx.admin"
permission-message: "&cYou don't have permission to execute this command."
usage: "/<command>"
Expand Down
34 changes: 21 additions & 13 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,6 @@
# "[|]"
# "[center]" = put it at the beginning of any message and the message will get in the center of the chat box (not guaranteed to work everywhere).
# ============================================================================================================================================================================
# || Disabled Worlds List ||
# ============================================================================================================================================================================
# Any world added here, will have the following functions disabled:
# [You will not see the messages of other worlds if allworlds-broadcast is set to false]
# [You won't be able to rankup]
# [You won't be able to prestige]
# [You won't be able to rebirth]
# [You won't be able to use /prx commands]
# [The chat won't be touched]
# ============================================================================================================================================================================
# !! VERY IMPORTANT !!
# !! VERY IMPORTANT !!
# !! VERY IMPORTANT !!
Expand All @@ -42,7 +32,16 @@ firstprestige: P1
lastprestige: P2
firstrebirth: R1
lastrebirth: R2
# ================================================
# ============================================================================================================================================================================
# || Disabled Worlds List ||
# ============================================================================================================================================================================
# Any world added here, will have the following functions disabled:
# [You will not see the messages of other worlds if allworlds-broadcast is set to false]
# [You won't be able to rankup]
# [You won't be able to prestige]
# [You won't be able to rebirth]
# [You won't be able to use /prx commands]
# [The chat won't be touched]
worlds:
- "disabled_world"
- "disabled_world2"
Expand All @@ -61,9 +60,9 @@ Options:
force-prestige-display: true
# True: The same story.
force-rebirth-display: true
# What will be shown when a player doesn't have a prestige on his/her chat format. Notice that this is only for chat messages. Look below for PlaceholderAPI placeholders.
# What will be shown when a player doesn't have a prestige on his/her chat format. Notice that this is only for chat messages and chat placeholders {rank},{prestige},{rebirth}. Scroll down to find the one for PlaceholderAPI placeholders (It's not under Options section).
no-prestige-display: ""
# What will be shown when a player doesn't have a rebirth on his/her chat format. Notice that this is only for chat messages. Look below for PlaceholderAPI placeholders.
# What will be shown when a player doesn't have a rebirth on his/her chat format. Notice that this is only for chat messages and chat placeholders {rank},{prestige},{rebirth}. Scroll down to find the one for PlaceholderAPI placeholders (It's not under Options section).
no-rebirth-display: ""
# True: Allows PrisonRanksX to replace the chat placeholders {rank}, {prestige}, and {rebirth}. This can be safely disabled if you are only using PlaceholderAPI placeholders, which can improve performance by a little.
format-chat: true
Expand Down Expand Up @@ -159,8 +158,17 @@ Options:
enabled-worlds-instead-of-disabled: false
# Prestige Max Types: AMTQ, ASTQ, AR, ARS. Only change when the developer tells you to do so.
prestigemax-type: "AMTQ"
# True: Sends prestige message only when it's the last prestige in the prestige max process.
# Also!! If you enable this, it will boost prestigemax process by a lot. REALLY REALLY A LOT.
prestigemax-prestigemsglastprestigeonly: true
# True: Enables infinite prestige config file, and ignores prestiges.yml.
infinite-prestige: false
# In case of conflict with other plugins, you could try altering the following values:
# Possible values: LOWEST, LOW, NORMAL, HIGH, HIGHEST, MONITOR.
# Chat format.
chat-event-handling-priority: NORMAL
# Data registeration.
login-event-handling-priority: NORMAL
Ranklist-text: # Text based ranks list
# Placeholders: %rank_name% %rank_displayname% %nextrank_name% %nextrank_displayname% %nextrank_cost% %nextrank_cost_formatted%
rank-current-format: "%rank_displayname% &a> %nextrank_displayname% &a[|] &2$&e%nextrank_cost_formatted% &a<&m---"
Expand Down
21 changes: 16 additions & 5 deletions infinite_prestige.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
Global-Settings:
display: "&8[&9P{number}&8]"
cost-expression: "{number} * 100000"
commands:
- "eco give %player% 500"
commands: []
broadcast: []
final-prestige: 1000000
max-prestige-commands:
- "eco give %player% %amount%"
# Execute at that specific prestige number.
Prestiges-Settings:
# ~Possible actions~
Expand All @@ -19,15 +20,25 @@ Prestiges-Settings:
# - "&6a broadcast message line."
# - "&e%player% &7just prestiged."
500:
executecmds: []
executecmds:
- "say 500"
1000:
executecmds:
- "say 1000"
1500:
executecmds:
- "say 1500"
2000:
executecmds:
- "say 2000"
# Execute every X prestige.
# Actions that will be performed every time the player passes X amount of prestiges.
# So if a player passes 500/1000/1500/etc.... prestiges, this message will be broadcasted.
# Accepts: executecmds, broadcast.
Continuous-Prestiges-Settings:
500:
broadcast:
- "&6%player% has passed &a500 &6prestiges."
executecmds:
- "say 500"
# Edit at X prestige.
# Permanent changes to prestige settings. Below, what will happen is, that prestiges numbered from 500 till 999 will have their
# display changed. Then, it will also get changed again when the player reaches prestige 1000.
Expand Down
64 changes: 34 additions & 30 deletions messages.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# You can disable any message by making it empty or removing it from the config
# use "\n" if you want multi lines in single-lined messages {the message must be between double quotes => "&fHi \n&6test"}, look at the prestige message for example
# You can disable any message by making it empty { "" }
# use "\n" if you want multi lines in single-lined messages => { "firstline\nsecondline" }
Messages:
# placeholders: %rankup% %rankup_display% %rankup_cost% %rankup_cost_formatted%
notenoughmoney:
Expand Down Expand Up @@ -28,9 +28,9 @@ Messages:
# no longer used.
delplayerrank: "&cDeleted &e%player%'s &crank."
# no longer used.
addrankcmd: "&c%args1% &eupdated with: &7%args2%&c."
addrankcmd: "&c%args1% &egot updated with the command: &7%args2%&c."
# no longer used.
addrankbroadcast: "&c%args1% &eupdated with: &7%args2%&c."
addrankbroadcast: "&c%args1% &egot updated with the broadcast message: &7%args2%&c."
# no longer used.
addrankmsg: "&c%args1% &eupdated with: &7%args2%&c."
setdefaultrank: "&cDefault rank changed to &e%args1%&c."
Expand Down Expand Up @@ -73,7 +73,7 @@ Messages:
# placeholders: %nextprestige% %nextprestige_display%
prestige: "&aYou have prestiged to &r%nextprestige_display%"
# not yet
forceprestige: "&aYou forced a prestige promotion to &f%target%"
forceprestige: "&aYou forced a prestige promotion for &f%target%"
noprestige: "&a&l&nYou can't prestige at this rank."
norebirth: "&c&l&nYou can't rebirth at this rank."
# placeholders: %player%
Expand Down Expand Up @@ -117,9 +117,9 @@ Messages:
autorankup-disabled: "&eAuto rankup &cdisabled&e."
autorankup-enabled-other: "&eAuto rankup &aenabled &efor &7%player%&e."
autorankup-disabled-other: "&eAuto rankup &cdisabled &efor &7%player%&e."
# ignore
# ignore, message in commands.yml is used instead
autorankup-nopermission: "&cYou don't have permission to use auto rankup."
# ignore
# no longer used, autorankup will stay enabled even if you are at last rank
autorankup-lastrank: "&eAuto rankup &7has been automatically &cdisabled &7because you are at the latest rank."
autoprestige-enabled: "&3Auto prestige &aenabled&3."
autoprestige-disabled: "&3Auto prestige &cdisabled&3."
Expand Down Expand Up @@ -157,32 +157,36 @@ Messages:
# tags: [header], [footer]
# both tags can be used multiple times, which means you can have more than one line of header and footer.
top-prestiges:
- "[header]&7- &e&oTop &6&oPrestiges &7-"
- "&81: &e%name1% &8- &3%value1%"
- "&82: &e%name2% &8- &3%value2%"
- "&83: &e%name3% &8- &3%value3%"
- "&84: &e%name4% &8- &3%value4%"
- "&85: &e%name5% &8- &3%value5%"
- "&86: &e%name6% &8- &3%value6%"
- "&87: &e%name7% &8- &3%value7%"
- "&88: &e%name8% &8- &3%value8%"
- "&89: &e%name9% &8- &3%value9%"
- "&810: &e%name10% &8- &3%value10%"
- "[header]&7- &e&l&oPRESTIGE &6&l&oLEADERBOARD &7-"
- "[header]&7&m &7"
- "&81 &f> &e%name1% &8- &6%value1%"
- "&82 &f> &e%name2% &8- &6%value2%"
- "&83 &f> &e%name3% &8- &6%value3%"
- "&84 &f> &e%name4% &8- &6%value4%"
- "&85 &f> &e%name5% &8- &6%value5%"
- "&86 &f> &e%name6% &8- &6%value6%"
- "&87 &f> &e%name7% &8- &6%value7%"
- "&88 &f> &e%name8% &8- &6%value8%"
- "&89 &f> &e%name9% &8- &6%value9%"
- "&810 &f> &e%name10% &8- &6%value10%"
- "[footer]&7&m &7"
top-prestiges-last-page-reached: "&e&oThere are only &6&o%page% &e&opage(s)."
top-rebirths:
- "[header]&7- &c&oTop &4&oRebirths &7-"
- "&81: &c%name1% &8- &3%value1%"
- "&82: &c%name2% &8- &3%value2%"
- "&83: &c%name3% &8- &3%value3%"
- "&84: &c%name4% &8- &3%value4%"
- "&85: &c%name5% &8- &3%value5%"
- "&86: &c%name6% &8- &3%value6%"
- "&87: &c%name7% &8- &3%value7%"
- "&88: &c%name8% &8- &3%value8%"
- "&89: &c%name9% &8- &3%value9%"
- "&810: &c%name10% &8- &3%value10%"
- "[header]&7- &c&l&oREBIRTH &4&l&oLEADERBOARD &7-"
- "[header]&7&m &7"
- "&81 &f> &c%name1% &8- &4%value1%"
- "&82 &f> &c%name2% &8- &4%value2%"
- "&83 &f> &c%name3% &8- &4%value3%"
- "&84 &f> &c%name4% &8- &4%value4%"
- "&85 &f> &c%name5% &8- &4%value5%"
- "&86 &f> &c%name6% &8- &4%value6%"
- "&87 &f> &c%name7% &8- &4%value7%"
- "&88 &f> &c%name8% &8- &4%value8%"
- "&89 &f> &c%name9% &8- &4%value9%"
- "&810 &f> &c%name10% &8- &4%value10%"
- "[footer]&7&m &7"
top-rebirths-last-page-reached: "&c&oThere are only &4&o%page% &c&opage(s)."
rebirth-failed: "&cYou need &4&n%prestiges_amount_left%&c prestiges more to rebirth."
# placeholders: %rank% %rank_display% %rankup% %rankup_display% %cost%
rankupmax: "&a&oYou have successfully ranked up from &6&o%rank% &a&oto &6&o%rankup%&a&o."
rankupmax: "&a&oYou have successfully ranked up from &6&o%rank% &a&oto &6&o%rankup%&a&o."
prestigemax: "&7&oYou have successfully prestiged from &c&o%prestige% &7&oto &c&o%nextprestige%&7&o."
6 changes: 3 additions & 3 deletions plugin.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
main: me.prisonranksx.PrisonRanksX
version: "2.8.3"
version: "2.8.5"
name: PrisonRanksX
author: "TheGaming999/Sandwicha"
author: "TheGaming999"
depend: [Vault]
softdepend: [PlaceholderAPI,MVdWPlaceholderAPI,HolographicDisplays,ActionUtil,PermissionsEX,GroupManager,LuckPerms,DecentHolograms]
api-version: 1.13
api-version: 1.19
Loading

0 comments on commit 46f578a

Please sign in to comment.