[ECON] PermIconomy 1.04 - The Bridge between Permissions and Economy[1060]

Discussion in 'Inactive/Unsupported Plugins' started by Cutch, Jun 18, 2011.

  1. Offline

    Cutch

    Found some time tonight try this new version, hopefully fixed the null errors. Post any other errors you get and ill try to fix them.
     
  2. Offline

    Pim1234

    cb: 1060, i still have this error :(

    Code:
    09:19:07 [SEVERE] Error occurred while enabling PermIconomy v1.03 (Is it up to date?): null
    java.lang.NullPointerException
        at com.Cutch.bukkit.PermIconomy.Transaction.toString(Transaction.java:88)
        at com.Cutch.bukkit.PermIconomy.PermIconomy.saveRentals(PermIconomy.java:723)
        at com.Cutch.bukkit.PermIconomy.PermIconomy.readRentals(PermIconomy.java:733)
        at com.Cutch.bukkit.PermIconomy.PermIconomy.onEnable(PermIconomy.java:59)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:452)
        at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:281)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:344)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:489)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:468)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  3. Offline

    Cutch

    Okay i've uploaded a newer version, I havn't fixed anything from the last one, but the error's line number should be different. Just tell me what that number is.
     
  4. Offline

    Pim1234

    lolz, no errors :)
    only problem is that one of my Citizens bought Merchant for 5000Coins (all he had) and now he's still a Citizen...
     
  5. Offline

    iteush

    Hey,
    Your plugin is great but I have a problem with it.
    When a member wants to becomes a "Seigneur" the PO are withdraw but he is always a "Mercenaire"
    My PermIconomy config:
    My permissions congif:
    My iConomy config:

    Why does it bug please ?
    Sorry for my bad english.
    Thank you in advance :)
     
  6. Offline

    Cutch

    Ya this is a bug ill try and fix it asap.
     
  7. Offline

    Pim1234

    how's it going? sorry for being inpatient but i'm being pretty busy with doing everything manually, and there are also players who need to be upgraded at night :(

    it would be great to have this plugin again, i really like it :)
     
  8. Offline

    Cutch

    Thought I fixed the errors, whats wrong with it making it unusable?
     
  9. Offline

    Pim1234

    the same bug iteush had/has...
     
  10. Offline

    Maka_maka

    I keep getting this error when I attempt to buy any Group:
    Code:
    20:45:29 [SEVERE] Could not pass event PLAYER_CHAT to PermIconomy
    java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getGroupOb
    ject(Ljava/lang/String;Ljava/lang/String;)Lcom/nijiko/permissions/Group;
            at com.Cutch.bukkit.PermIconomy.GroupSupport.getGroup(GroupSupport.java:
    33)
            at com.Cutch.bukkit.PermIconomy.Item.checkRequirements(Item.java:91)
            at com.Cutch.bukkit.PermIconomy.Transaction.buy(Transaction.java:165)
            at com.Cutch.bukkit.PermIconomy.PlayerEvents.onPlayerChat(PlayerEvents.j
    ava:49)
            at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.ja
    va:279)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:682)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    I'm using nChat, PermissionEx, and of course the newest PermiConomy.
    I lose chat capabilities when I do this also, until I restart the server.

    I also get this when I use the /permi list command:

    Code:
    20:59:17 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'perm
    i' in plugin PermIconomy v1.03
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    9)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    20)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:713)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler
    .getGroupObject(Ljava/lang/String;Ljava/lang/String;)Lcom/nijiko/permissions/Gro
    up;
            at com.Cutch.bukkit.PermIconomy.GroupSupport.getGroup(GroupSupport.java:
    33)
            at com.Cutch.bukkit.PermIconomy.Item.checkRequirements(Item.java:91)
            at com.Cutch.bukkit.PermIconomy.PermIconomy.onCommand(PermIconomy.java:2
    23)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
     
  11. Offline

    Cutch

    Fixed this should be good now.
     
  12. Offline

    Pim1234

    that would be great! thanks a lot!
    i am going to try it right away!

    hate to say it but it is still not working for me.
    still no error, still money disappearing.

    i am starting to think the problem is with me so here's my config:

    permiconomy.properties (open)


    Code:
    #Any Field Ending in 's' can have multiple values Seperated by ',' (a comma)
    RealMoneyAdmins=pim16aap2
    AllowSelfAuthorization=false #True/False
    #You must repeat this block for each available item.
    Name=Citizen
    Price=400#Put a $ sign in front to specify real money
    Desc=
    Permissions=
    Groups=Citizen
    Expiry= #Format: day/month/year hour:minute:second
    Count= #Maximum amount of purchases per player
    Worlds= * #Use * to specify all worlds
    #If the item for sale is a group, any group in the RequiredGroups will be removed from the user
    #RequiredPackages can be another item name from this file
    RequiredPackages=
    RequiredGroups=
    #end
    Name=Merchant
    Price=5000#Put a $ sign in front to specify real money
    Desc=
    Permissions=
    Groups=Merchant
    Expiry= #Format: day/month/year hour:minute:second
    Count= #Maximum amount of purchases per player
    Worlds= * #Use * to specify all worlds
    #If the item for sale is a group, any group in the RequiredGroups will be removed from the user
    #RequiredPackages can be another item name from this file
    RequiredPackages=
    RequiredGroups=Citizen
    #end
    Name=Nobleman
    Price= 10000#Put a $ sign in front to specify real money
    Desc=
    Permissions=
    Groups=Nobleman
    Expiry= #Format: day/month/year hour:minute:second
    Count= #Maximum amount of purchases per player
    Worlds= * #Use * to specify all worlds
    #If the item for sale is a group, any group in the RequiredGroups will be removed from the user
    #RequiredPackages can be another item name from this file
    RequiredPackages=
    RequiredGroups=Merchant
    #end
    Name=VIP (4 weeks)
    Price= $5#Put a $ sign in front to specify real money
    Desc=
    Permissions=
    Groups=VIP
    Expiry=28 days#Format: day/month/year hour:minute:second
    Count= #Maximum amount of purchases per player
    Worlds= * #Use * to specify all worlds
    #If the item for sale is a group, any group in the RequiredGroups will be removed from the user
    #RequiredPackages can be another item name from this file
    RequiredPackages=
    RequiredGroups=
    #end
    Name=VIP (9 weeks)
    Price=$10#Put a $ sign in front to specify real money
    Desc=
    Permissions=
    Groups=VIP
    Expiry=63 days #Format: day/month/year hour:minute:second
    Count= #Maximum amount of purchases per player
    Worlds= * #Use * to specify all worlds
    #If the item for sale is a group, any group in the RequiredGroups will be removed from the user
    #RequiredPackages can be another item name from this file
    RequiredPackages=
    RequiredGroups=
    #end
    
    


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

    thedarkdima

    Same as the guy up there
    Weird i have the Permissions 3 and when i buy package nothing happens
     
  14. Offline

    Pim1234

    i still have the problem but i have a question too now...

    does it support PermissionsBukkit?
    if not does it support the bridge?
     
  15. Offline

    Nick392

    When I try to confirm the purchase it doesn't work and I get errors. When it asks (y/n)
     
  16. Offline

    Cutch

    At the moment it dosn't support Bukkit Permissions will be adding this soon once I actually get this plugin working again. Not sure about the bridge.
    Would you be able to post these errors, I can't seem to replicate them.
     
  17. Offline

    Pim1234

    cutch? do you have any news on the problem that when you buy something your money disappears without giving you the permissions?
     
  18. Offline

    Cutch

    Does this happen only when you buy permissions or groups too. And do you know if adding permissions has ever worked, while using Permissions 3.x
     
  19. Offline

    Pim1234

    i don't know about permissions, i only offer groups.
     
  20. Offline

    mpwaugmn

    I like the idea. However, I use permissionsbukkit, could you add support please? Theres nothing for permissionsbukkit that works per node like this, only for groups. There are a few plugins that are close, but they fail, your plugin is perfect for what I need. Thank you.
     
  21. Offline

    Cutch

    Yes that's the plan just havn't had the time to look at how the system works. Maybe I'll put in some time today, why not.
     
  22. Offline

    mpwaugmn

    Awesome possum, you're the man Cutch!
     
  23. Offline

    drt

    Hi Cutch, i Have a set amount of money on my server and would like to keep it as so.
    If it possible to have /permi pay out to an iconomy5 account i would appreciate the info on how :)
    If it isn't, will you consider support for it?

    payto=,
    in the config rather than commandiconomy entries for the amount of /permi availabilities i have sounds rrreal nice.

    :) thnx for the sweet plugin
     
  24. Offline

    Cutch

    Thats fine support will be added soon.
     
  25. Offline

    ScriptManTomz

    this not work ! this is the best script !
    sorry for english i am pakistanni
     
  26. Offline

    Cutch

    I've updated there may still be problems i'll continue working.
    Added a payto setting to the preference file payto=account
    Added support(it was working :p) for PermissionsBukkit
     
  27. Offline

    Pim1234

    nice! thank you very much! i'll try it directly!
     
  28. Offline

    ScriptManTomz

    thank you ! thank you ! itry now ! i report back soon ! thank you ! thank you !
    sorry for bad engrish im pakistanni !

    sorry ! this still no work ! when people buy no work ! why !
    i have group called کتیا​

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

    Cutch

    Sorry for different permissions systems it might or might not be working. I'm testing and coding, ill try and figure this out
     
  30. Offline

    Pim1234

    i still have the same problem;

    no errors, just money disappearing and ranks not given.
    could it be permissions (3.1.4)? as soon as an rc is released i'll switch to permissionsbukkit.

    EDIT: i'll wait for allpermissions to be updated, then i'll switch and try it...
     

Share This Page