Inactive [MECH/FUN] SimpleHat 0.7 - Just hats [Bukkit Permissions] [1060]

Discussion in 'Inactive/Unsupported Plugins' started by ichingpow, Jul 6, 2011.

  1. Offline

    ichingpow

    andrewkm and Kane like this.
  2. Offline

    ichingpow

    Hope this gets pushed to release fast :3
     
  3. Offline

    M1sT3rM4n

    So all of the MC items ID work? Also, can't people use this to generate items just like with /i or /give? Do you have a way to prevent that from happening?
     
  4. Offline

    ichingpow

    Yes but non-blocks won't show on your head. It's not a item giving, the entire point is not to have that. It takes what is currently in your hand and puts it in your head armour slot.

    Please try it ;)
     
  5. Offline

    M1sT3rM4n

    That makes sense. For example, I thought you can just type /hat <item id> and wear them.
     
  6. Offline

    ichingpow

    No, you can't.
     
  7. Offline

    CushFiles

    Awesome! Just checking, it's just for show-off right? no armor will be added etc.
    We've got some donators on the server who we'd like to give some "show-off" features, so this is great! :D
     
    Delois likes this.
  8. i do /hat and i receive an internal error occured while attempting to perform this command.
    Show Spoiler
    2011-07-06 09:56:28 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'hat' in plugin SimpleHat v0.1
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
    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:84)
    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.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
    at ichingpow.SimpleHat.SimpleHat.onCommand(SimpleHat.java:56)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
     
  9. Offline

    ichingpow

  10. he doesn't. add a boolean usePermissions = false. then onEnable do if(this.getServer().getPlugin("Permissions") != null){
    //assign to permissions handler and set usePermissions = true
    }
    else{
    usePermissions =false;
    Then before you check if a user has permissions, check if usePermissions is true. so basically it will look like
    if usePermissions == true
    if playerHasPermission == true
    //do it
    else
    //do it
    Sorry if that was a kinda bad example, im tired :D
     
  11. Offline

    ichingpow

    Added optional Permissions thanks to garbagemule!
     
    garbagemule likes this.
  12. Testing it now ^.^
     
  13. Having a locked chest as a hat lolz! thank you 4 this plugin
     
  14. Offline

    ichingpow

    Updated to 0.3! Check the change log. Thanks @garbagemule
     
    garbagemule likes this.
  15. Offline

    madcrazydrumma

    Hmm this looks good... could you make a config file so that users can choose what blocks should be allowed like it should be layed out like this:
    EDIT: and possibly have multiworld support? so in that config file you could also add this option:

    Just ideas that would be excellent :D
     
  16. Offline

    ichingpow

    Use Permissions multiworld system to enable and disable the command in certain worlds. I'm not interested in adding a config file as that defies the point but thank you for your suggestion.
     
  17. Just saying, all of these:
    make absolutely no sense. Permissions is multi-world, and this plugin is command based, so why would you need multiworld options? Blacklist blocks doesn't make sense either, because you have to have the item in your hand, it doesn't give you the item. Allow Hats is probably the dumbest option in a config file I've ever heard of, why would you want to disallow hats if you downloaded this plugin?
    @ichingpow Love the plugin, keep up the good work :)
     
  18. Offline

    ichingpow

    Thanks man, love your plugins too and keep up your good work.
     
  19. Offline

    ichingpow

    Updated, check changelog. :D
     
  20. Offline

    Zippo

    When I say /hat, it wont work. It come up with white text saying /hat
     
  21. Offline

    ichingpow

    Hmm, that's weird. Can you look in the console to see if there are any errors?
     
  22. Offline

    Zippo

    There is no error
     
  23. It means you don't have permissions or the Permissions plugin itself is null (not loaded), as the plugin doesn't do anything but return false if you don't have permission.
     
  24. Offline

    Zippo

    I have group manager installed
     
  25. Then you'll need FakePermissions.
     
  26. Offline

    Zippo

    Where can I get that
     
  27. Offline

    Zippo

    Help?
     
  28. Offline

    ichingpow

    From http://google.com/ or grow some balls and use the real Permissions.
     
  29. Offline

    Zippo

    I do use real permissions now, problem still happenes
     
  30. Offline

    yuckfoooo

    Help, I went to http://google.com/ and all I got was google's search site! What do?

    Seriously though, I'll try this out. Looks fun. Not sure what I'd want to put on my head... Maybe a piston or a block of fire :eek:
     

Share This Page