TeleportAll Plugin Request

Discussion in 'Archived: Plugin Requests' started by Stets12, Jun 20, 2014.

  1. Offline

    Stets12

    Plugin category: Teleporting

    Suggested name: TeleportAll

    What I want: I want a simple plugin to do a command with coordinates and it will teleport all players on the server to that spot. Example /tele all 1 1 1 and it would teleport all players on line to that spot.


    Ideas for commands: /tele all (coordinates)

    Ideas for permissions: teleportall.exclude (When you do the command it will exclude you from tp) teleportall.teleport (Has permission to do the teleportall command.

    When I'd like it by: On 6/24/14 would be great.

    Thanks!!!!
     
  2. Offline

    Walruski

    Plugin complete! Click download to download the plugin ^.^!
    Commands:
    /teleall <x> <y> <z> - Teleports all players without the "TeleportAll.Exclude" permission to <x> <y> <z>.
    Permissions:
    TeleportAll.Teleport - Allows access to /teleall command.
    TeleportAll.Exclude - Excludes the players from being teleported when /teleall is executed.
     
    Stets12 likes this.
  3. Offline

    Stets12

    Thanks!!! I hope this plugin will really help
     
  4. Offline

    Stets12

    I'm really sorry to bother you again. I know I din't request this but, can you please make the commands able to be done through console? Again, i'm sorry to bother you. I just hope you can add this.
     
  5. Offline

    bubba1234119

    [quote uid=90728101 name="Stets12" post=2602484]I'm really sorry to bother you again. I know I din't request this but, can you please make the commands able to be done through console? Again, i'm sorry to bother you. I just hope you can add this.[/quote]

    Doing this right now for you.

    Same permissions as the other plugin.
    Do /teleall <world> <x> <y> <z>
    Download: <Edit by Moderator: Redacted mediafire url>

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 2, 2016
  6. Offline

    Stets12

    [quote uid=90642789 name="bubba1234119" post=2602565]Same permissions as the other plugin.
    Do /teleall <world> <x> <y> <z>
    Download: <Edit by Moderator: Redacted mediafire url>


    Thanks for such a quick response! The plugin works great!
     
    Last edited by a moderator: Nov 2, 2016
  7. Offline

    bubba1234119

    You're welcome, sorry @Walruski I just did it since you were offline.
     
  8. Offline

    Walruski

    bubba1234119
    Perfectly fine, I don't have the time for this at the moment anyway as I am working on other projects so thanks for helping out!
     
  9. Offline

    Stets12

    [quote uid=90642789 name="bubba1234119" post=2602565]Same permissions as the other plugin.
    Do /teleall <world> <x> <y> <z>
    Download: <Edit by Moderator: Redacted mediafire url>


    I'm getting this error when I do a command through console.
    Code:
    15:35:39] [Server thread/WARN]: Unexpected exception while parsing console command "teleall world 599 52 599"
    org.bukkit.command.CommandException: Unhandled exception executing command 'teleall' in plugin TeleportAll v1.0
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:196) ~[craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
        at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:542) ~[craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
        at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchServerCommand(CraftServer.java:529) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
        at net.minecraft.server.v1_7_R1.DedicatedServer.aw(DedicatedServer.java:286) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
        at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:251) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
        at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
        at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
        at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
    Caused by: java.lang.NullPointerException
        at org.bukkit.craftbukkit.v1_7_R1.entity.CraftPlayer.teleport(CraftPlayer.java:455) ~[craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
        at org.bukkit.craftbukkit.v1_7_R1.entity.CraftEntity.teleport(CraftEntity.java:200) ~[craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
        at me.bubba1234119.Commands.TeleAllCommand.onCommand(TeleAllCommand.java:45) ~[?:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
        ... 8 more
     
    Last edited by a moderator: Nov 2, 2016
  10. Offline

    bubba1234119

    The world is called "world" exactly right not "World".
     
  11. Offline

    Stets12


    Yeah, I'm trying to use it with ConsoleScheduler to schedule the command and here is the error I get through it
    Code:
    [14:07:46] [Server thread/WARN]: [ConsoleScheduler] Task #60 for ConsoleScheduler v1.2.2 generated an exception
    org.bukkit.command.CommandException: Unhandled exception executing command 'teleall' in plugin TeleportAll v1.0
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:196) ~[craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
        at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:542) ~[craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
        at BoomerBR.Plugin.ConsoleScheduler.runCommand(ConsoleScheduler.java:135) ~[?:?]
        at BoomerBR.Plugin.ConsoleScheduler$2.run(ConsoleScheduler.java:104) ~[?:?]
        at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java:53) ~[craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
        at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
        at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:587) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
        at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
        at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
        at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
        at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
    Caused by: java.lang.NullPointerException
        at org.bukkit.craftbukkit.v1_7_R1.entity.CraftPlayer.teleport(CraftPlayer.java:455) ~[craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
        at org.bukkit.craftbukkit.v1_7_R1.entity.CraftEntity.teleport(CraftEntity.java:200) ~[craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
        at me.bubba1234119.Commands.TeleAllCommand.onCommand(TeleAllCommand.java:45) ~[?:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]
        ... 11 more
     
  12. Offline

    TheWolfBadger

    Stets12 Your server is in online mode right?
     
  13. Offline

    Stets12


    Yes
     

Share This Page