Group Permission Teleport

Discussion in 'Archived: Plugin Requests' started by The_Punkster, Feb 23, 2013.

  1. Offline


    Plugin category: Teleportation

    Suggested name: GroupTele

    What I want:
    A simple, light teleportation plugin that has permissions that allow a specific group to ONLY teleport to another defined group.

    This would basically be made so that, for example, players cannot teleport to mods, etc.

    Ideas for commands: /tp <name> (Usual)

    Ideas for permissions: grouptele.<groupname>

    When I'd like it by: ASAP
  2. Offline


    really, just use simple warps, you can give permissions for a specified warp
  3. Offline


    Only issue, it's not a specified warp.

    They're teleporting to players.


    Player 1 is in group default
    Player 2 is in group elite
    Player 3 is in group mod

    Player 2 has the permission : grouptele.default

    He can teleport the player 1 (/tp player1) but he is not allowed to teleport to the "mod" group.
  4. Offline


    What are your groups? I can do this instantly
  5. Offline


    Well I have a bunch of groups, but could you possibly tell me how? I'm on my phone at and I know I have like 10+ groups
  6. Offline


    I'm working on this right now. I assume you want it to also have the functionality of a normal /tp, like player to player, coords and such as well?
  7. Offline


    I would like it to be just a normal tp, tppos is optional.
  8. Offline


    The_Punkster likes this.
  9. Offline


    I'm assuming this overrides the other plugins right?

    Anyways, thanks a bunch, testing it in a sec.

    Works fine on my test server however I don't have essentials, or a lot of those plugin that can possibly override it.

    Thank-you very much, sir.

    Everytime I try teleporting on my server, (I'm OP), this is an error that comes up:

    24.02 10:25:54 [Server] INFO Read timed out
    24.02 10:25:43 [Server] INFO ... 15 more
    24.02 10:25:43 [Server] INFO at org.bukkit.command.PluginCommand.execute(
    24.02 10:25:43 [Server] INFO at com.psyco.grouptele.TpCommand.onCommand(
    24.02 10:25:43 [Server] INFO at com.psyco.grouptele.VaultCompat.getGroup(
    24.02 10:25:43 [Server] INFO Caused by: java.lang.NullPointerException
    24.02 10:25:43 [Server] INFO at
    24.02 10:25:43 [Server] INFO at
    24.02 10:25:43 [Server] INFO at net.minecraft.server.v1_4_R1.MinecraftServer.q(
    24.02 10:25:43 [Server] INFO at net.minecraft.server.v1_4_R1.DedicatedServer.r(
    24.02 10:25:43 [Server] INFO at net.minecraft.server.v1_4_R1.MinecraftServer.r(
    24.02 10:25:43 [Server] INFO at net.minecraft.server.v1_4_R1.DedicatedServerConnection.b(SourceFile:30)
    24.02 10:25:43 [Server] INFO at net.minecraft.server.v1_4_R1.ServerConnection.b(SourceFile:39)
    24.02 10:25:43 [Server] INFO at net.minecraft.server.v1_4_R1.PlayerConnection.d(
    24.02 10:25:43 [Server] INFO at net.minecraft.server.v1_4_R1.NetworkManager.b(
    24.02 10:25:43 [Server] INFO at net.minecraft.server.v1_4_R1.Packet3Chat.handle(
    24.02 10:25:43 [Server] INFO at net.minecraft.server.v1_4_R1.PlayerConnection.a(
    24.02 10:25:43 [Server] INFO at
    24.02 10:25:43 [Server] INFO at net.minecraft.server.v1_4_R1.PlayerConnection.handleCommand(
    24.02 10:25:43 [Server] INFO at org.bukkit.craftbukkit.v1_4_R1.CraftServer.dispatchCommand(
    24.02 10:25:43 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(
    24.02 10:25:43 [Server] INFO at org.bukkit.command.PluginCommand.execute(
    24.02 10:25:43 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'tp' in plugin GroupTele v1.0

    I can teleport to another OP, (He's an "Admin")

    This happens when I tele to a default player.
  10. Offline


    Which permission plugin do you use for this? It appears that the default group you have doesn't exist with it.
  11. Offline


    I use permissionsBukkit.

    I also tried this with another account.

    So the account is an "Platinum" account, and I'm trying to teleport to someone in the "default" group.

    The Platinum permissions are as follows:

    grouptele.Platinum: true
    grouptele.Elite: true
    grouptele.VIP: true
    grouptele.default: true

    Turns out I can teleport to other ranks, but not "default".
    (Only tested on 1 other rank)
  12. Offline


    Ok, I see the problem now. I have it fixed within the hour.

    Edit: Easier to fix than I thought. New download:

    This version creates a config.yml that has an option called 'default-group'. This option is the groupname of anyone that doesn't have a group or is 'default' in permissionsbukkit, so you won't have to switch it unless you switch permissions plugins.
  13. Offline


    So I don't need to edit this right? Considering I have a "default" group in my permissions.

    Also, do you plan to make a professional thread and release this? You should. :p
  14. Offline


    Yes, you don't need to edit this. I might eventually make a "professional" thread for it.
  15. Offline


    Ah, alrighty.

    And you really should, I'm sure a lot of servers would benefit from this. I can even make you a little thread if ya want.

Share This Page