PrisonRankup

Logo

PrisonRankup

The highest-rated and most practical rankup plugin designed specifically for the ever-popular Prison server is finally here. This plugin features a unique database built into the config to house each individual player’s rank to prevent losing ranks, glitching out of the system, and allowing multiple groups to be compatible with popular permissions plugins, including PermissionsEX and GroupManager. Accessing player’s information has never been easier, as one can simply type “/rankup get (name)” to retrieve the player’s display name, rank, and current balance. In order for the balance feature to work, as well as the plugin itself, Vault is required.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Commands:

/rankup - Ranks the sender up to the next available rank (prisonrankup.rankup)

/rankup set (player) (rank) - Sets the given player to the given rank (prisonrankup.set)

/rankup stats (rank) - Receive statistics of a rank given (prisonrankup.create)

/rankup get (player) - Retrieve a player profile (prisonrankup.get)

/rankup reload - Reloads the config.yml (prisonrankup.reload)

/rankup update - Reloads the config.yml (prisonrankup.update)

/ranks - Shows you available ranks (prisonrankup.ranks)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Default Configuration File:

# Welcome to configuring PrisonRankup, I will be here to guide you through this config setup
# First let me introduce myself, I am Mazen. I consider myself an expert in configuring Plugins and YAML configs and the average Java Developer.
# First thing I want you to do is to set the prefix (What comes before the message) for the plugin to use. Keep the speech marks please to avoid errors.
Prefix: '&a[&bPrison&6-&bRankup&a]'
#Do not touch this!
version: 2.0
# Next thing I want you to do is set the message you want it to be when somebody ranks up. Keep the speech marks here as well.
# The %player% will be replaced with the players name, and the %rank% will be replaced with the rank they ranked up to.
Rankup BC Message: '&3%player% &6has ranked up to &3%rank%'
# Now, the most important part of this plugin is the rankup ladder
groups:
#Heres an example of the format of how it should be:
# rank name: price 
#DO NOT REMOVE THE # FROM THE ABOVE!
   - A:30
   - B:100
   - C:300
#Here, I will be asking you to put the first rank on the ladder in this example A
First Rank: 'A'
# As well as the last rank to assure that we can message the player that he is at the end of the ladder
Last Rank: 'C'
# This message is the message we will send to the player if he is the highest rank.
Highest Rank MSG: '&6 You are already the highest rank!'
# This next one is if you want to use a timed requirement for your rankup system, set it to true if yes. Default is false;
Timed Requirement: false
# Now we're if you set it to true you will have to set a certain time (in seconds) that you want to be done for the rank requirement
Time Interval: 0.0
# Here you will write what the time is based on, seconds, minutes or hours. Spelling does matter!
Time type: Seconds
# If you want, I added an option where you can choose if you want to make it so that the interval is added to every Rankup Sequence
Interval on all ranks: false
# Now you're almost there! Theres just one last part, If you're switching from Rankup and/or majority of Rankup plugins set this to true. If not, set it to false.
# What this does is check if the player has a rank that is listed in groups (Every minute) and if so, makes a profile with that rank.
Transfer ranks to profile: false
# Set the next item to false if you do not want to use the updater
update: true
# Set this to true if you wish to enable debug mode
debug: false
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Switching

Are you switching from another Rankup plugin? Simple! Set the “Transfer ranks to profile” option to “true” in the config.yml!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1.8 Compatibility

1.8 compatibilities with UUIDs have been implemented in version 2.0

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Using the Sign Integration

You can make signs that work for PrisonRankup like this (You require the permission prisonrankup.sign):

Then, once you place it you will get something like this:

And congratulations! Now you have a sign that be used to Rankup!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Plugin Updater

As of Version 1.3 I have integrated an updater to the plugin, just do /rankup update to Update the plugin. You may disable this feature by setting updater to false in the config.yml

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

PrisonRankup Connects to Mojangs Servers

As of the UUID Update, PrisonRankup connects to 'sessionserver.mojang.org' to fetch UUIDs.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Found a bug? Report it!

Have a bug you ran into? You want something added to the plugin? Click here!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Source (for educational purposes only)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of mazentheamazin mazentheamazin Jul 29, 2014 at 03:08 UTC - 0 likes

    @augesrob: Go

    Use this version of CraftBukkit

    @Mysteryguy11: Go

    Make sure you have all these 3 things: - Have Vault installed - Have a permission system (that is compatible with Vault) installed - Have a economy system (that is compatible with Vault) installed

    @tristplaysMC: Go

    You're rather not using the most up to date version of PrisonRankup or using an old format of the config.yml

    BFAK:90721244,0c4445ffae3a119561d61c460fdd8b1d0ae0a0aabfc714eb196c01432c6193e3

  • Avatar of NK_FLASH NK_FLASH Jul 29, 2014 at 03:03 UTC - 0 likes

    @tristplaysMC: Go

    Prestige III isn't in the list of ranks, fix it to Free.

  • Avatar of Mysteryguy11 Mysteryguy11 Jul 29, 2014 at 02:30 UTC - 0 likes

    This Plugin Won't Start At All

    Hi, when i start my server the plugin creates no file it justs starts and the Plugin "PrisonRankup_v2,7.jar" won't do anything i do /rankup nothing pops up i look in console the .jar is there and no folder

    PLEASE HELP----
  • Avatar of mazentheamazin mazentheamazin Jul 29, 2014 at 00:17 UTC - 0 likes

    @gaz1812: Go

    Okay... If you're getting NoSuchMethodError download this version of CraftBukkit, its what I build against (goes to dl.bukkit.org)

  • Avatar of TWSSYesterday TWSSYesterday Jul 28, 2014 at 23:31 UTC - 0 likes

    @gaz1812: Go

    Apparently Group Manager is causing errors in other plugins. Read it somewhere. I use zPerms, no issues there.

    CraftTillDawn

  • Avatar of gaz1812 gaz1812 Jul 28, 2014 at 23:22 UTC - 0 likes

    @TWSSYesterday: Go

    Yeah that's what I'm using but how does that have the issue with the command?

    MortalityMC OP Prison

  • Avatar of TWSSYesterday TWSSYesterday Jul 28, 2014 at 22:55 UTC - 0 likes

    @gaz1812: Go

    Group Manager? If so, it seems that's a group manager error.

  • Avatar of gaz1812 gaz1812 Jul 28, 2014 at 22:47 UTC - 0 likes

    @TWSSYesterday: Go

    Here's the console stacktrace

    29.07 00:45:13 [Server] INFO ... 13 more
    29.07 00:45:13 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
    29.07 00:45:13 [Server] INFO at net.craftservers.prisonrankup.Models.CommandHandler.onCommand(CommandHandler.java:44) ~[?:?]
    29.07 00:45:13 [Server] INFO at net.craftservers.prisonrankup.SubCommands.Rankup.onCommand(Rankup.java:29) ~[?:?]
    29.07 00:45:13 [Server] INFO at net.craftservers.prisonrankup.Models.PRPlayer.<init>(PRPlayer.java:70) ~[?:?]
    29.07 00:45:13 [Server] INFO at net.craftservers.prisonrankup.Models.PRPlayer.getOfflinePlayer(PRPlayer.java:189) ~[?:?]
    29.07 00:45:13 [Server] INFO Caused by: java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()Ljava/util/Collection;
    29.07 00:45:13 [Server] INFO at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
    29.07 00:45:13 [Server] INFO at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
    29.07 00:45:13 [Server] INFO at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
    29.07 00:45:13 [Server] INFO at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
    29.07 00:45:13 [Server] INFO at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:667) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
    29.07 00:45:13 [Server] INFO at net.minecraft.server.v1_7_R3.ServerConnection.c(SourceFile:134) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
    29.07 00:45:13 [Server] INFO at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:157) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
    29.07 00:45:13 [Server] INFO at net.minecraft.server.v1_7_R3.PacketPlayInChat.handle(PacketPlayInChat.java:47) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
    29.07 00:45:13 [Server] INFO at net.minecraft.server.v1_7_R3.PacketPlayInChat.a(PacketPlayInChat.java:28) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
    29.07 00:45:13 [Server] INFO at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java:817) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
    29.07 00:45:13 [Server] INFO at net.minecraft.server.v1_7_R3.PlayerConnection.handleCommand(PlayerConnection.java:956) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
    29.07 00:45:13 [Server] INFO at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand(CraftServer.java:701) ~[craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
    29.07 00:45:13 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) ~[craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
    29.07 00:45:13 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks]
    29.07 00:45:13 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'rankup' in plugin PrisonRankup v2.7
    29.07 00:45:13 [Server] INFO [00:45:13 ERROR]: null
    
  • Avatar of gaz1812 gaz1812 Jul 28, 2014 at 22:43 UTC - 0 likes

    @TWSSYesterday: Go

    Ah that explains why aha. I've gone ahead and updated to 1.7.9 R0.2 it's still giving me the error when running /rankup or /rankup get however /rankup info works.

    Last edited Jul 28, 2014 by gaz1812
  • Avatar of TWSSYesterday TWSSYesterday Jul 28, 2014 at 22:37 UTC - 0 likes

    @gaz1812: Go

    You're using an old version of craftbukkit :P

Facts

Date created
Jan 20, 2014
Categories
Last update
Jul 26, 2014
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
PrisonRankup
Downloads
45,646
Recent files

Authors