[INACTIVE][FUN/MISC] EZ-Bake 1.2 - Make a Permanent Cake (Permissions-2.7.4) [860]

Discussion in 'Inactive/Unsupported Plugins' started by weasel5i2, Jun 8, 2011.

  1. Offline

    weasel5i2

    EZ-Bake - Make a Permanent Cake! v1.2

    [​IMG]

    Description:
    This plugin allows you to create an EZ-Bake Oven™ which provides an eternal cake. This is handy for creative servers if repeated falls/creepers/skeletons/zombies/etc. cause player damage and death to become an inconvenience.​

    To use the EZ-Bake Oven™ simply build one (if allowed or Op), and then whenever an allowed (or Op) player right-clicks on the cake, it will continually replenish itself.​

    Easy-Bake Oven™ is a registered trademark of the Hasbro toy company.

    Features:
    • My plugin makes cake (really, it does!!)
    How To Build One:
    1. Create a light blue wool block - the 45th Anniversary colour
      (which is actually more of a light cyan but that doesn't exist in the game, unfortunately..)

    2. Target it and issue the following command: /ezbake

    3. Enjoy your new neverending cake!
    Permissions:
    Code:
    - 'ezbake.create' : Allows player to create an oven
    - 'ezbake.use' : Allows a player to eat the cake
    
    Without Permissions installed, only OPS may create and use the EZ-Bake Oven™.

    Download:
    Download the Plugin (JAR) v1.2​
    Download the Plugin (ZIP) v1.2​
    Download the Source (ZIP) v1.2 - gitHub

    Changelog:
    Version 1.2 13-Jun-2011
    • Updated to latest recommended Craftbukkit build #860.
    • Added a check for Permissions plugin availability, so it no longer throws exceptions if a server doesn't have Permissions installed.
    • Only players with Op status can use/create, if Permissions isn't available.
    Version 1.1 09-Jun-2011
    • Added Permissions-2.7.4 support
    Version 1.0 08-Jun-2011
    • Created plugin
    To Do:
    • Suggestions, anyone?
    • Maybe make it so that (without Permissions) only OPS may create, but anyone may use?
     
    eastonch likes this.
  2. Offline

    Paul Ludwig

    Permissions Support Plox ^.^
     
  3. Offline

    Bloodykittens

    Deffinatly permissions. I'd like to put this as a high level perk you get :D
    Anyway to include 2 permission nodes a .use and .create?
     
  4. Offline

    weasel5i2

    Permissions (2.7.4) added! Haven't tested it yet though.. Should I use Permissions 3.x instead? Seemed a bit over-featured to me, which is why I went with the last stable 2.x build :)
     
  5. Offline

    tha d0ctor

    LOL I love the Hasbro Trademark.
     
  6. Offline

    kalvinleung

    I got this when i issue the [ezbake] command
    Code:
    13:27:40 [嚴重的] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'ezba
    ke' in plugin Oven v1.1
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    8)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    81)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:718)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:684)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:677)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:404)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:314)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHand
    ler
            at net.weasel.EZBake.CommandHandler.isAllowedCreate(CommandHandler.java:
    58)
            at net.weasel.EZBake.CommandHandler.onCommand(CommandHandler.java:26)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    Caused by: java.lang.ClassNotFoundException: com.nijiko.permissions.PermissionHa
    ndler
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:36)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:24)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 15 more
    PLZ fix it
     
  7. appears you don't have permissions. that or your on 3.0?
     
  8. Offline

    kalvinleung

    what should i do
     
  9. install permissions?
    tell the creator to make sure permissions is enabled before referencing it?

    I put in a quick pull request.
    @author comment with any problems ;)

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

    weasel5i2

    Yes, sorry about that, I had a sneaking suspicion that would happen but I had no easy way to test it. I will fix it soon in the next release (someone already fixed it for me on gitHub, hee hee)
     
  11. Offline

    Plague

    please update do latest recommended CB
     
  12. Offline

    weasel5i2

    Fixed and updated, hopefully won't throw any more exceptions for you guys!

    --W5i2
     
  13. Offline

    captainawesome7

    I don't want to be that guy, but what's with the --W5i2? Yes, we can all see your username on the left. If you want to reassure us that you are, in fact, W5i2, just put it in your sig or something.
     
    weasel5i2 likes this.
  14. Offline

    weasel5i2

    Heheheh.. Force of habit, I guess!
     
  15. Offline

    Plague

    changelog has to show two latest versions without a spoiler
     
  16. Offline

    emcitement

    Hmm. This topic hasn't gotten too much attention.

    I enjoy simple plugins like this that don't modify the regular gameplay, but just add fun/ useful things to it.

    It might be basic but it's nice. It makes restaurants have a use without having to give out free food items.
    That way when you're in a safe zone you can restore your health without having to waste food or commit suicide. Or maybe if you want to create an underground mine camp it could fit nicely in there too. (Even though this would make the game a bit easier)

    As for suggestions - there isn't much I'd suggest. It's fine just the way it is.
    You said you may make it so that OPs can create but anyone can use. This would probably be a good idea for the people who don't use permissions (for whatever reason they don't).

    Really isn't anything else that should be changed or added. xD
     

Share This Page