[INACTIVE][TP/FUN] CakePort v0.5 - Teleport pads [860]

Discussion in 'Inactive/Unsupported Plugins' started by fossil58, Mar 23, 2011.

  1. Offline

    fossil58

    CakePort - Cake teleport pads!
    Version: v0.5

    CakePort let's you link two cakes together, and by stepping on one it will teleport you to the other. :)
    If you have any ideas or suggestions, post 'em! Originally this was supposed to be for the server I run / play with my friends on, which is the reason why I used cakes. CakePort is my first plugin and java project so, yeah.

    Features:
    • Create teleport pads out of cakes
    • Stepping on a linked cake will teleport you to the other and vice versa! (no infinite loops)
    Usage:
    • Select a cake by right clicking with a bone
    • Add cakes by typing "/addcake [CakeName]"
    • Link two cakes by typing "/linkcakes [CakeName1] [CakeName2]"
    • Simply destroy cakes to remove/unlink them
    Permissions:
    Code:
                - 'cakeport.link'
                - 'cakeport.add'
                - 'cakeport.remove'
                - 'cakeport.warp'
    Should default to OP with no Permissions

    Download CakePort

    Known Issues
    • Sometimes doesn't create the folder /plugins/CakePort/ so you might have to create it yourself
    • Doesn't delete cakes when using things like WorldEdit's superpickaxe
    If you find any bugs post!

    ToDo:
    • One way teleports
    • Toll based teleporting?
    • List all CakePorts
    • Config file to use blocks other than cake?
    Changelog:

    Version 0.5:
    • cleanup
    Version 0.4:
    • Updated
    • Added 'cakeport.warp'
    • CakePorts can't be eaten (don't disappear or heal)
    Version 0.3:
    • Updated to latest recommended build
    Version 0.2:
    • Multi-world support
    Version 0.1:
    • Initial release
    Source
     
  2. Offline

    AntonyDream

    b556
    Code:
    2011-03-25 21:52:45 [SEVERE] java.io.IOException: Системе не удается найти указанный путь
    2011-03-25 21:52:45 [SEVERE]     at java.io.WinNTFileSystem.createFileExclusively(Native Method)
    2011-03-25 21:52:45 [SEVERE]     at java.io.File.createNewFile(Unknown Source)
    2011-03-25 21:52:45 [SEVERE]     at com.gmail.marvinj91.CakePort.CakePort.onEnable(CakePort.java:40)
    2011-03-25 21:52:45 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    2011-03-25 21:52:45 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
    2011-03-25 21:52:45 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
    2011-03-25 21:52:45 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
    2011-03-25 21:52:45 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
    2011-03-25 21:52:45 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    2011-03-25 21:52:45 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    2011-03-25 21:52:45 [SEVERE]     at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    2011-03-25 21:52:45 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    2011-03-25 21:52:45 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-25 21:52:45 [SEVERE] java.io.IOException: Системе не удается найти указанный путь
    2011-03-25 21:52:45 [SEVERE]     at java.io.WinNTFileSystem.createFileExclusively(Native Method)
    2011-03-25 21:52:45 [SEVERE]     at java.io.File.createNewFile(Unknown Source)
    2011-03-25 21:52:45 [SEVERE]     at com.gmail.marvinj91.CakePort.CakePort.onEnable(CakePort.java:49)
    2011-03-25 21:52:45 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    2011-03-25 21:52:45 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
    2011-03-25 21:52:45 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
    2011-03-25 21:52:45 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
    2011-03-25 21:52:45 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
    2011-03-25 21:52:45 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    2011-03-25 21:52:45 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    2011-03-25 21:52:45 [SEVERE]     at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    2011-03-25 21:52:45 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    2011-03-25 21:52:45 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-25 21:52:45 [SEVERE] java.io.IOException: Системе не удается найти указанный путь
    2011-03-25 21:52:45 [SEVERE]     at java.io.WinNTFileSystem.createFileExclusively(Native Method)
    2011-03-25 21:52:45 [SEVERE]     at java.io.File.createNewFile(Unknown Source)
    2011-03-25 21:52:45 [SEVERE]     at com.gmail.marvinj91.CakePort.CakePort.onEnable(CakePort.java:58)
    2011-03-25 21:52:45 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    2011-03-25 21:52:45 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
    2011-03-25 21:52:45 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
    2011-03-25 21:52:45 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
    2011-03-25 21:52:45 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
    2011-03-25 21:52:45 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    2011-03-25 21:52:45 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    2011-03-25 21:52:45 [SEVERE]     at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    2011-03-25 21:52:45 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    2011-03-25 21:52:45 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
     
  3. Offline

    fossil58

    I think I know what it is. I'll fix it when I get home; unfortunately, I'm at school at the moment.
     
  4. i used a bone, did the command, and was told that the cake was not selected. I right clicked cake with the bone. Help?
     
  5. Offline

    fossil58

    When you right clicked did it tell you a cake was selected? What build?

    Download link updated, I think it should work now.
     
  6. Offline

    AntonyDream

    When I trying to link two cakes (test1 and test2) it says "test1 does not exist" :confused:
     
  7. Offline

    fossil58

    Are you getting any errors when you add the cakes? Also, does it tell you that they've been added?
     
  8. Offline

    treepunch

    Working great on my server running cb556. Thanks for this, this is exactly what I was looking for!
     
  9. Offline

    Amin Azman

    me too.. using cb 556
     
  10. Offline

    fossil58

    Does it tell you that the cakes have been added before trying to link them?
     
  11. Offline

    AntonyDream

    I havn't get any errors in console, and yes, it tells what cakes was added.
     
  12. Offline

    fossil58

    Okay, I'll look into this.
     
  13. Offline

    Singapore123

    I got that too.
     
  14. Offline

    fossil58

    Are you using the latest download?
     
  15. Offline

    nicolo86

    Hello
    awesome mod, but one problem it doesn't work, I can't add cakes nor link an when i write down a command it doesn't say anything,
    I did found an error

    Code:
    2011-03-30 18:50:01 [SEVERE] Could not load plugins/CakePort.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:85)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:58)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:187)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:174)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:120)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:227)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoClassDefFoundError: org/bukkit/command/CommandExecutor
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:247)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:72)
            ... 8 more
    Caused by: java.lang.ClassNotFoundException: org.bukkit.command.CommandExecutor
            at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:30)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
            ... 11 more
    
    Any help
    thanks
    nicolo86
     
  16. Offline

    fossil58

    What version of craftbukkit?
     
  17. Offline

    mansl

    Try updateing it to build 612, after the 1.4 update, please :D
     
  18. Offline

    Manji

    you better update it to b617 ;)
     
  19. Offline

    fossil58

    Working on it today :)
     
    Manji likes this.
  20. Offline

    Amin Azman

    yeay! thanks
     
  21. Offline

    fossil58

    Updated.
     
  22. Offline

    Gea

    Have you considered tolls yet (redstone maybe)? Also the feature of customizing what block (instead of cakes, though I like the idea of using the cake, I may prefer using gold to give it some use)? Otherwise great plugin.
     
  23. Offline

    Bacon_God

    I can select and add cakes, it gives me a message saying its added.
    But, when I try to link them, it says they don't exist.
    Im using bukkit build 617
     
  24. Offline

    James Whitney

    Same here,
     
  25. Offline

    fossil58

    Working on it. Trying to reproduce.
     
  26. Offline

    Flawm

    This works fantastic! I was using jumpblock as a very primitive elevator, but then came 1.4, and he never updated it. I've been checking the plugin list daily for the day that he'd update, but then I found this plugin and jumpblock got repalced.
    The only problem I ever had with it, is that it didn't create the folder inside the plugin folder where it keeps all the data, so I just created one named CakePort, and it works just fine.
    Thank you!
     
  27. Offline

    Singapore123

    THANKS. You solved my problem.

    EDIT: Idea:
    if you link a cake, and eat it, it will still work even if it has been eaten finished. How about making the cake non-edible?
     
  28. Offline

    Bacon_God

    Adding a folder called CakePort fixed the linking problem. TY.
     
  29. Offline

    fossil58

    Glad you like it! And thanks for finding the problem too. :)

    EDIT: I'll see what I can do about the eating thing
     
  30. Offline

    JD3V3N3Y

    yup... same here
     

Share This Page