Teleportation RPG

Discussion in 'Plugin Requests' started by user_91277742, Sep 19, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    user_91277742

    Plugin category: RPG- Teleportation

    Minecraft version: 1..11.2

    Suggested name: Powder teleportation

    What I want: Hello everyone! , I'm making a RPG server and I need this plugin to have a better atmosphere.
    How works ? , In my case, you should go to a flower pot and do right click, then an inventory is opened with all available places to go (Yeah is like a Harry potter floo powder) , (If is possible, add a flower pot with a nbt-tag to only open the teleport list and to choose the location to teleport)

    Ideas for commands:

    /pd setlocation <nameoflocation> ----> To save the location
    /pd reload
    /pd removelocation <nameoflocation> ----> to remove a predefined location

    Ideas for permissions:

    pd.setlocation
    pd.use
    pd.removelocation

    When I'd like it by: As soon as possible
     
  2. Offline

    user_91277742

    First, Thank you so much! ^^

    I have this Issue ..
    Code:
    [11:02:44 INFO]: [PowderTeleport] Enabling PowderTeleport v1.0
    
    [11:02:44 ERROR]: Error occurred while enabling PowderTeleport v1.0 (Is it up to date?)
    java.lang.NullPointerException
    at net.ascendmc.commands.PowderCommands.‹init›(PowderCommands.java:24) ~[?:?]
    at net.ascendmc.PowderTeleport.registerCommands(PowderTeleport.java:20) ~[?:?]
    at net.ascendmc.PowderTeleport.onEnable(PowderTeleport.java:15) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:271) ~[gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293]
    at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugin(CraftServer.java:376) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293]
    at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugins(CraftServer.java:326) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293]
    at net.minecraft.server.v1_11_R1.MinecraftServer.t(MinecraftServer.java:421) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293]
    at net.minecraft.server.v1_11_R1.MinecraftServer.l(MinecraftServer.java:382) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293]
    at net.minecraft.server.v1_11_R1.MinecraftServer.a(MinecraftServer.java:337) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293]
    at net.minecraft.server.v1_11_R1.DedicatedServer.init(DedicatedServer.java:272) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293]
    at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:544) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45-internal]
     
    Last edited by a moderator: Sep 20, 2017
  3. Offline

    user_91277742

    I have another error :/
    Code:
    [11:48:02 INFO]: [PowderTeleport] Ena
    bling PowderTeleport v1.0
    [11:48:02 ERROR]: Error occurred while enabling PowderTeleport v1.0 (Is it up to date?)
    java.lang.NullPointerException
    at net.ascendmc.commands.PowderCommands.‹init›(PowderCommands.java:24) ~[?:?]
    at net.ascendmc.PowderTeleport.registerCommands(PowderTeleport.java:20) ~[?:?]
    at net.ascendmc.PowderTeleport.onEnable(PowderTeleport.java:15) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:271) ~[gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293]
    at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugin(CraftServer.java:376) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293]
    at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugins(CraftServer.java:326) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293]
    at net.minecraft.server.v1_11_R1.MinecraftServer.t(MinecraftServer.java:421) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293]
    at net.minecraft.server.v1_11_R1.MinecraftServer.l(MinecraftServer.java:382) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293]
    at net.minecraft.server.v1_11_R1.MinecraftServer.a(MinecraftServer.java:337) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293]
    at net.minecraft.server.v1_11_R1.DedicatedServer.init(DedicatedServer.java:272) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293]
    at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:544) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45-internal]
    Code:
    [23:18:49 INFO]: [PowderTeleport] Enabling PowderTeleport v1.0
    [23:18:49 WARN]: java.io.FileNotFoundException: plugins/PowderTeleport/locations.yml (No such file or directory)
    [23:18:49 WARN]: at java.io.FileInputStream.open0(Native Method)
    [23:18:49 WARN]: at java.io.FileInputStream.open(FileInputStream.java:195)
    [23:18:49 WARN]: at java.io.FileInputStream.‹init›(FileInputStream.java:138)
    [23:18:49 WARN]: at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:128)
    [23:18:49 WARN]: at net.ascendmc.PowderTeleport.onEnable(PowderTeleport.java:3
    6)
    [23:18:49 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:271)
    [23:18:49 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337)
    [23:18:49 WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)
    [23:18:49 WARN]: at com.rylinaux.plugman.util.PluginUtil.load(PluginUtil.java:366)
    [23:18:49 WARN]: at com.rylinaux.plugman.util.PluginUtil.load(PluginUtil.java:318)
    [23:18:49 WARN]: at com.rylinaux.plugman.util.PluginUtil.reload(PluginUtil.java:380)
    [23:18:49 WARN]: at com.rylinaux.plugman.command.ReloadCommand.execute(ReloadCommand.java:122)
    [23:18:49 WARN]: at com.rylinaux.plugman.PlugManCommandHandler.onCommand(PlugManCommandHandler.java:95)
    [23:18:49 WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
    [23:18:49 WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
    [23:18:49 WARN]: at org.bukkit.craftbukkit.v1_11_R1.CraftServer.dispatchCommand(CraftServer.java:650)
    [23:18:49 WARN]: at net.minecraft.server.v1_11_R1.PlayerConnection.handleCommand(PlayerConnection.java:1354)
    [23:18:49 WARN]: at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:1189)
    [23:18:49 WARN]: at net.minecraft.server.v1_11_R1.PacketPlayInChat.a(PacketPlayInChat.java:45)
    [23:18:49 WARN]: at net.minecraft.server.v1_11_R1.PacketPlayInChat.a(PacketPlayInChat.java:1)
    [23:18:49 WARN]: at net.minecraft.server.v1_11_R1.PlayerConnectionUtils$1.run(SourceFile:13)
    [23:18:49 WARN]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    [23:18:49 WARN]: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    [23:18:49 WARN]: at net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46)
    [23:18:49 WARN]: at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:747)
    [23:18:49 WARN]: at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399)
    [23:18:49 WARN]: at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:678)
    [23:18:49 WARN]: at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:576)
    [23:18:49 WARN]: at java.lang.Thread.run(Thread.java:74 
     
  4. :/ it worked for me. Im at work ill figure it out when im home
     
  5. Offline

    user_91277742

    No problem ^^
     
  6. That first error shouldn't be popping up, are you sure you're using my most recent one that i sent? and the second one is normal just use the commands and it'll be fine, it did that to me too, also the commands are /pd setloaction <the name of the location> <name that players will see in the inventory> and /pd removelocation <name of location>
     
  7. Offline

    user_91277742

    Sorry, it was incompatible with another plugin. It's works! , can you add four things more? 1. To translate "Teleport locations" in the config. 2. A delay of 5 seconds for teleportation. 3. Implement vault, so the teleportation has price
    4. implement particles of fire at the time of teleportation .
    if you can it of course.

    Thank you so much again!!
     
  8. Online

    timtower Administrator Administrator Moderator

    Try to include such features in the initial post next time please.
    Features like these can mean that a partial rewrite is needed.
     
  9. Offline

    user_91277742

    I'm sorry, I thought about it a few minutes ago :/
     
    timtower likes this.
  10. Last edited: Sep 21, 2017
  11. Offline

    user_91277742

    Really. I love it . It's awesome!! but to finish, Can you add the messages "You dont have the money to use this teleport" , "You will be teleported in x sec" and "Price" to the config to translate it ? and a doubt, works in 1.12 ??

    P.D: at the moment I dont have problems in game, but I have this ERROR in cmd.
    Code:
    [23:42:29 ERROR]: Could not pass event InventoryClickEvent to PowderTeleport v1.0 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293] at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:1849) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293] at net.minecraft.server.v1_11_R1.PacketPlayInWindowClick.a(SourceFile:33) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293] at net.minecraft.server.v1_11_R1.PacketPlayInWindowClick.a(SourceFile:10) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293] at net.minecraft.server.v1_11_R1.PlayerConnectionUtils$1.run(SourceFile:13) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_45-internal] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_45-internal] at net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293] at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:747) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293] at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293] at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:678) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293] at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:576) [gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45-internal] Caused by: java.lang.NullPointerException at net.ascendmc.events.PowderEvents.powderEvents(PowderEvents.java:42) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45-internal] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45-internal] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45-internal] at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45-internal] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[gbinvl_minecraft_spigot_1_11_2.jar:git-Spigot-38ddb34-c19c293] ... 15 more
    
     
    Last edited by a moderator: Sep 21, 2017
  12. Last edited: Sep 21, 2017
  13. Offline

    user_91277742

    So.. I have two Issues..
    The first is when I translate the "Price". (I can's use the teleport at click)
    Code:
    [10:28:19 WARN]: java.lang.NumberFormatException: For input string: "Precio: 30.0"
    [10:28:19 WARN]: at
    sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
    [10:28:19 WARN]: at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
    [10:28:19 WARN]: at java.lang.Double.parseDouble(Double.java:538)
    [10:28:19 WARN]: at net.ascendmc.events.PowderEvents.powderEvents(PowderEvents.java:50)
    [10:28:19 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [10:28:19 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    [10:28:19 WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [10:28:19 WARN]: at java.lang.reflect.Method.invoke(Method.java:497)
    [10:28:19 WARN]: at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
    [10:28:19 WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    [10:28:19 WARN]: at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
    [10:28:19 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
    [10:28:19 WARN]: at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:1849)
    [10:28:19 WARN]: at net.minecraft.server.v1_11_R1.PacketPlayInWindowClick.a(SourceFile:33)
    [10:28:19 WARN]: at net.minecraft.server.v1_11_R1.PacketPlayInWindowClick.a(SourceFile:10)
    [10:28:19 WARN]: at net.minecraft.server.v1_11_R1.PlayerConnectionUtils$1.run(SourceFile:13)
    [10:28:19 WARN]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    [10:28:19 WARN]: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    [10:28:19 WARN]: at net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46)
    [10:28:19 WARN]: at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:747)
    [10:28:19 WARN]: at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399)
    [10:28:19 WARN]: at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:678)
    [10:28:19 WARN]: at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:576)
    [10:28:19 WARN]: at java.lang.Thread.run(Thread.java:745)
    
    And the second is this. Numbers dont appear when "you will be teleported in 5,4,3.. seconds". Maybe can you delete messages to 4,3,2,1 and just stay the message "You will be teleported in 5 seconds"?
     

    Attached Files:

    Last edited by a moderator: Sep 22, 2017
  14. Last edited: Sep 22, 2017
  15. Offline

    user_91277742

    Works perfectly! And without errors in cmd ^^
    Its just a question (Don't know if is difficult or late to code) , but can you set the flower pot like a custom item?, Its to control the use of the powder teleport. So that the players have to go to a certain place to use the teleport.
    are you understand me? I said that in "What I want" "(If is possible, add a flower pot with a nbt-tag to only open the teleport list and to choose the location to teleport)" but I didn't explain myself well hahahha :p
     
  16. I can do 2 things. Make a location file for all the pots. Or just check if the pot is on a certain block open tge inventory. Which would you prefer
     
  17. Offline

    user_91277742

    What is the easiest for you?
     
  18. The block one but both are easy its just what you prefer
     
  19. Offline

    user_91277742

    So.. Do it with the block ^^(Bedrock) . If I understood , you need to put de flower pot over the bedrock (in my case) to open de GUI with de teleports locations right?
     
  20. Yep. I can do that. Just place a flower pot on top of bedrock and anything else wont open the gui

    I get home in 3hrs 30m so ill do it then
     
  21. Offline

    user_91277742

    That sounds great! , sooo I will wait impatiently :p
     
  22. Offline

    user_91277742

    Last edited by a moderator: Sep 24, 2017
  23. Yep its the version i tested it with, no problem glad you like it :)
     
  24. Offline

    user_91277742

    Hello ^_^ , I have a little problem. I cant create more than one Loation to tp :/
    I Created a location, when I create a new one, this new one replaces the previous one.
     
  25. Oh. Ill take a look at tomorrow. Sorry about that
     
  26. Offline

    user_91277742

    np :D

    P.D: It's not for hurry, but how much time do you need?
     
    Last edited by a moderator: Oct 4, 2017
Thread Status:
Not open for further replies.

Share This Page