[REQUEST] Rank Up By PVP- Uses Pex.

Discussion in 'Archived: Plugin Requests' started by sandsg145, Apr 15, 2014.

  1. Offline

    sandsg145

    Hello World!
    I have made a pvp server and I would love a plugin that ranks you up by the more you pvp. Basically, you are pvping, and lets say-for example- after 10 kills you get ranked up. So, you kill 10 players, and afterwards a command (which is configurable in the config file) is issued. This command is '/pex user {player} group set Warrior' which sets you from your previous rank to Warrior. Then after you've killed 20 people, you are ranked up again by the command '/pex user {player} group set Fighter' and so-on. This plugin should be automatic so that when you kill 10/20/how many people you need to kill, you are ranked up. This would also be good for others, since the command could be changed to what they want. For example, if a person who wants their players to be rewarded with a diamond sword after they've killed 10 players, they could change the command to '/give {player} diamondsword 1'. Can anyone make this to help me out and other future minecraft server owners?​

    Edit: The config file could look sort of like this:​
    #This is the config file​
    #This line shows the version, do not mess with!​
    version-number: 1​

    #The first line shows what level it is​
    '1'​
    #The second line shows how many kills are needed​
    kills-needed: 10​
    #the third line shows the command that is issued when the number of kills has been reached​
    '/pex user {player} group set Warrior'​
    #Continue this process...​

    '2'​
    kills-needed: 20​
    '/pex user {player} group set Fighter'​

    Ideas for commands: Everything would be controlled through the config file. I find this a pretty simple plugin.

    Ideas for permissions: There wouldn't really need any permisions

    When I'd like it by: The end of the week, or halfway into next week? I don't know how long it takes to make a plugin​
     
  2. Offline

    sandsg145

  3. Offline

    sandsg145

    T3h Cr33p3r Can I have a progress report on how it's going. I'm excited to get this plugin on my server.
     
  4. Offline

    duker02

  5. Offline

    sandsg145

    duker02 This looks great, thanks!
     
  6. Offline

    Kiaeyi

    Such pwn. Much wow. Many clap.
     
    timtower likes this.
  7. Offline

    sandsg145

  8. Offline

    duker02

  9. Offline

    sandsg145

    duker02 Is there a way I can bypass waiting for it to be approved by the bukkit staff and just download the plugin now :p
     
  10. Offline

    duker02

  11. Offline

    sandsg145

    duker02 I installed the .jar file, but no config files are showing up?
     
  12. Offline

    timtower Administrator Administrator Moderator

    Startup log?
     
  13. Offline

    sandsg145

    timtower I looked at console while the server started up and I found this:
    20.04 10:50:42[Server] ERROR Could not load 'plugins/Kill-Rankup.jar' in folder 'plugins'
     
  14. Offline

    timtower Administrator Administrator Moderator

  15. Offline

    sandsg145

    timtower What would I do to get the full error? Because thats all it says in console.
     
  16. Offline

    timtower Administrator Administrator Moderator

    Get the latest.log, there should be a longer error in there with a reason why it can't load
     
  17. Offline

    sandsg145

  18. Offline

    timtower Administrator Administrator Moderator

    <server directory>/logs
     
  19. Offline

    sandsg145

    timtower brb

    timtower http://pastebin.com/StRtMB9a

    timtower I think I see it- it says:
    1. [10:50:42] [Server thread/ERROR]: Could not load 'plugins/Kill-Rankup.jar' in folder 'plugins'
    2. org.bukkit.plugin.UnknownDependencyException: Vault
    So I probably just need to install vault.
    But that doesn't make sense to me since this plugin should run on pex.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  20. Offline

    timtower Administrator Administrator Moderator

    sandsg145 Install Vault, will solve the issue.
    Update mcore, will fix creativegates
    Install NoteBlockAPI, will fix servermusic
    And Vault is for multiple plugins, nobody just builds on PEX alone
     
  21. Offline

    sandsg145

    timtower Ok, thanks for the help.

    timtower Mcore is up to date. I figure that creative gates needs an update that hasn't come out yet

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  22. Offline

    timtower Administrator Administrator Moderator

    It is not
     
  23. Offline

    sandsg145

    timtower I'll uninstall and reinstall mcore

    timtower And just like magic, the config file appears

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  24. Offline

    duker02

    sandsg145 Awesome! Glad you got it working.
     
  25. Offline

    sandsg145

    timtower I uninstalled and reinstalled mcore, but the portals for creative gates are still down. Any advice there?
     
  26. Offline

    duker02

    sandsg145 MCore has probably not been updated yet.
     
  27. Offline

    sandsg145

    I'm not sure how to work this config file duker02

    messages: {}
    players:
    d8325658-f399-4975-a4eb-2044e4a671fa:
    name: sandsg145
    kills: 0
    ranks: {}

    It does the: d8325658-f399-4975-a4eb-2044e4a671fa:
    name: sandsg145" with other players btw. I just cut that out because they probably don't want to be posted there.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  28. Offline

    duker02

  29. Offline

    sandsg145

  30. Offline

    duker02

    sandsg145 Is the file a .yml? I didn't think they changed the configuration system? :confused:
     

Share This Page