Inactive [RPG/FUN/ADMN] PaidRanks v1.0 - Users pay in-game money to rank up! [VAULT][1337]

Discussion in 'Inactive/Unsupported Plugins' started by polaris120990, Nov 7, 2011.

  1. Offline

    tincopper2

    I get same problem, no money taken away, using group-manager.
     
  2. Offline

    iDeViLxD

    Seems to me that the group you get promoted to has to be EXACTLY the way its spelled in a permissions.yml
     
  3. Offline

    queequag

    Generally how it works
     
  4. Offline

    tincopper2

    It is, but this plugin just doesn't work, you guys are probably using something like bpermissions, or something, something I'm not wasting my time getting into, after all, it's far worse than groupmanager, and with server signs you can do pretty much the same thing.
     
  5. Offline

    killertudse

    Whenever i type /rankup nothing happens:/
     
  6. Offline

    gaz1812

    Hey guys here is a tutorial video on how to use paidranks:
     
  7. Offline

    JTtroy

    I Need Help. On My Server I Use PermissionsEx And Economy(essentials money) and Whenever I do /rankup in my server it says...


    An internal error has occured while attempting to perform this command





    this is my rankprices.yml file:

    groupslist:
    - default
    - parolee
    - gangster
    - mafia
    - immigrant
    - citizen

    groups:
    default: 0
    parolee: 15000
    gangster: 30000
    mafia: 60000
    immigrant: 120000
    citizen: 240000

    # These lists are ordered from lowest rank to highest rank.
    # If you change default make sure you change it to the group
    # that your users enter when they join the server
    # or this plugin will not work. Group names must match
    # the group names in your permissions.yml file
    # or ranking up will not function properly.
     
  8. Offline

    Sapphire5678

    I don't know if this will help, but didn't he say that you needed Vault as your economy?
     
  9. Offline

    xboxhacks

    Vault is a plugin which easily allows all different economy plugins to hook into basically this is how it works.

    Economy Plugin in this case its iConomy
    PaidRanks (Request Rank) -> Vault (Tells iConomy) -> iConomy (Takes money out account)
     
  10. Offline

    messageofdeath

    I have updated it to 1.2.5 Download link if you want it. I do not know how it works. I tried it. Seems to work(never used it) <Edit by Moderator: Redacted mediafire url>

    16:26:18 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'rank
    up' in plugin PaidRanks v1.0
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    8)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    86)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:777)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:737)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:725)
    at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:7
    8)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.NullPointerException
    at me.polaris120990.PayRanks.PayRanks.readCommand(PayRanks.java:127)
    at me.polaris120990.PayRanks.PayRanks.onCommand(PayRanks.java:96)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    ... 12 more[/quote]

    [quote uid=864 name="Sneaky" post=973857]I'm getting the same error as other people:

    "<font color="#ff0000">An internal error occurred while attempting to perform this command"</font>

    How do I fix this?

    rankprices.yml:

    Code:
    groupslist:
    - default
    - member
    - moderator
    - admin
     
    groups:
      default: 0
      member: 5
      moderator: 10
      admin: 1337
    
    permissionsbukkit config.yml:

    Code:
    users:
        SneakySoV:
            permissions:
            groups:
            - admin
    groups:
        default:
            permissions:
                default: true
        member:
            permissions:
                member: true
        moderator:
            permissions:
                moderator: true
            inheritance:
            - member
        admin:
            permissions:
                admin: true
            inheritance:
            - moderator
    messages:
        build: '&4Error:&f You do not have permission.'
    debug: false
    
    permissions.yml:

    Code:
    default:
        children:
            permissions.build: false
            simpleprefix.default: true
     
    member:
        children:
            permissions.build: true
            iConomy.payment: true
            simpleprefix.member: true
     
    moderator:
        children:
            simpleprefix.moderator: true
     
    admin:
        children:
            simpleprefix.admin: true
            permissions.*: true
    
    [/quote]
    [quote uid=90581084 name="awesomebilly" post=838720]FYI for everyone..

    This plugin developer is great, very hands on.-- been a great help![/quote]
    [quote uid=90587925 name="Karlkorv" post=818828]add signs![/quote]
    I did not add signs but I will later
     
    Last edited by a moderator: Nov 12, 2016
  11. messageofdeath

    If you attempt to promote without having sufficient money, it will instead promote you backwards to the highest rank you can afford, including the one you are at. Being able to spam the chat and take money and ranks away from the user.

    Im looking to use this plugin and thus i would be appreciative if you could fix it or let me have the source so i can modify it myself.
     
  12. Offline

    messageofdeath

    don't see the prob happening on my personal server. Maybe you set the config wrong
     
  13. messageofdeath
    Well, my config is fairly simple. I havent really touched the permissions aside from making sure all the ranks exist and are named exactly as in the groupslist below. I can manually promote/demote with PEX without problems.

    Code:
    groupslist:
    - Vagrant
    - Peasant
    - Commoner
    - Lord
    - Baron
    - Viscount
    - Earl
    - Marquess
    - Duke
    - Grand_Duke
    - Prince
    - King
    - Emperor
     
    groups:
      Vagrant: 0
      Peasant: 0
      Commoner: 50
      Lord: 100
      Baron: 250
      Viscount: 500
      Earl: 750
      Marquess: 1000
      Duke: 2000
      Grand_Duke: 3000
      Prince: 4000
      King: 5000
      Emperor: 7500
     
    # These lists are ordered from lowest rank to highest rank.
    # If you change default make sure you change it to the group
    # that your users enter when they join the server
    # or this plugin will not work. Group names must match
    # the group names in your permissions.yml file
    # or ranking up will not function properly.
    
     
  14. Offline

    davidrun11

    SUGGESTION:
    You should be able to choose paths. For example, pick a Miner Path or woodcutter path(Just an Example) Then be able to specialize.
     
  15. polaris120990 messageofdeath

    So, im still not getting this to work properly. I have tried not having two ranks at start that cost 0 to see if that solved it, but it didnt. Provided you have enough money to rank up it works fine, you get charged the correct amount but as soon as you have less money it will throw something along theese lines...

    You need 750 to purchase the rank of: Earl
    You need 500 to purchase the rank of: Viscount
    You need 250 to purchase the rank of: Baron
    You need 100 to purchase the rank of: Lord
    You need 50 to purchase the rank of: Commoner

    ... and then wander down the list until it can find a rank which you can afford. It doesnt seem to care much about the fact that you already have a higher rank.

    Also, it doesnt move you to the new rank, it just adds the new one and and keeps the old one aswell. This is not a good system as you may want to cancel out old nodes at higher ranks. Ie as a nobleman you may want to add certain priviledges suitable for a nobeman but you may also want to turn off farming or whatever, since its not suitable for that rank. If you just keep adding ranks to the player theese may conflict with each other.

    I dont know how you do it know, but why not just:
    1. Check what current rank is
    2. Check if can afford/exists higher rank
    3. Charge player cost, promote player, (if needed, remove old rank)

    I use pex, and a simple /pex promote <name> will remove the old rank.

    Heres a list of my versions and plugins:
    CB2177
    PaidRanks 1.2
    Vault 1.2.16-b184
    PEX 1.19.1
    iConomy 5.01

    Code:
    groupslist:
    - Peasant
    - Commoner
    - Lord
    - Baron
    - Viscount
    - Earl
    - Marquess
    - Duke
    - Grand_Duke
    - Prince
    - King
    - Emperor
     
    groups:
       Peasant: 0
       Commoner: 50
       Lord: 100
       Baron: 250
       Viscount: 500
       Earl: 750
       Marquess: 1000
       Duke: 2000
       Grand_Duke: 3000
       Prince: 4000
       King: 5000
       Emperor: 7500
     
    # These lists are ordered from lowest rank to highest rank.
    # If you change default make sure you change it to the group
    # that your users enter when they join the server
    # or this plugin will not work. Group names must match
    # the group names in your permissions.yml file
    # or ranking up will not function properly.
    
     
  16. Offline

    messageofdeath

    In the code It adds the group to you then remove's the group you had before.
     
  17. This is how it looked here when i checked the permissions file. Ranks are not being removed. The question is, what is the cause? Will the plugin work properly if someone alters a persons rank via other means, like the PEX command?

    Code:
    users:
      sorkmine:
        group:
        - Lord
        - Baron
        - Viscount
    
     
  18. Offline

    Tolerance

    polaris120990
    I have Vault. I use iConomy. I use GroupManager. When I type /rankup , nothing fucking happens. This is starting to piss me off. Please help.
     
  19. Offline

    StealthBravo

    May I suggest you ad support for GroupManager?
     
  20. Offline

    EpicStatius

    Can you please try to see if you can make an option for this to change to check GroupManager group? Or this there one already? I really don't know how to use the other perm programs, this is the one I learned with and this is the only rank-up plugin that does ranks up 1 by 1 and doesn't give a list of ranks, thanks a lot!

    Epic
     
  21. Offline

    FuRiouSOne

    Same problem here, its something to do with this plugin and groupmanager sadly....... Trying to start up a new prison server but this pay for rank plugin is putting a halt on it. Id be willing to pay to get this working correctly for groupmanager.
     
  22. Except im not using groupmanager, im using PEX. So the problem is just with the plugin itself.
     
    FuRiouSOne likes this.
  23. Offline

    rizemon

    It does not work with multiworld ?
     
  24. Offline

    SAMAIO12345

    Im getting this error please help, seen this plugin on servers its amazing!! please help!!

    18:37:27 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'rankup' in plugin PaidRanks v1.5
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479)
    at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:475)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:612)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:581)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player
    at me.polaris120990.PayRanks.PayRanks.onCommand(PayRanks.java:94)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    ... 7 more
    Thats what im getting
     
  25. Offline

    GeniusName3

    Ok if anyone is having trouble just add the space like this:

    groups:
    Guest:[SPACE]0
    Builder:[SPACE]500
     
  26. Offline

    Swatzkiller

    You can use CommandSigns to use this.
     
  27. Offline

    pairofsnipers

    Very useful! My players love it and so do I. The configuration may be a little challenging but it is WELL worth it. Dont believe me? Come check it out on my server: mc.next-pvp.com!
     
  28. Offline

    MrCreep4

    When i do /rankup
    no message back :(
    please help !!
     
  29. Offline

    FastArk

    Hey so i have an issue. When someone is for example Rank 4 and they use /rankup and they dont have enough money for the next rank but they have enough for the previous one they will be ranked up to the previous rank. Example:

    User is Rank 4

    [4] FastArk: /Rankup
    You need "100000" to purchase the rank of: Rank3
    You have been promoted to the rank of: Rank5
    FastArk has been promoted to the rank of: Rank5
    [5] FastArk: Why did i get promoted to rank 5

    I would appreciate it if someone could help me figure out what i need to do to stop this from happening.

    Make sure your prefix is correct in your permissions.yml Your prefix is what your title is going to look like. Also make sure that in rankprices.yml that your have the correct groups in the right places.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 21, 2016

Share This Page