[INACTIVE][ADMN/FUN/TP] TpDisable v1.1 - Disable players teleporting to you [1240]

Discussion in 'Inactive/Unsupported Plugins' started by Bush, Oct 8, 2011.

  1. Offline

    Bush

    TpDisable v1.1
    Disabling a player to teleport to you.
    RB:1240
    Description: Imagine you are just minding your own business, when all of a sudden a guy pops up next to you and starts bugging you, wouldn't you want to be able to put a stop to that? Well now you can by just typing /tpdisable and no1 can bother you again. :D
    Features:
    • /tpdisable: disables teleporting to you.
    • /tpenable: enables teleporting to you again.
    • /tp [player] [player]: teleports player1 to player2 if he is available.
    Changelog:
    v1.1 (download jar)
    -changed the command /tpto to the default /tp, still works the same
    -fixed it so that each time a user joins his tp is enabled.
    v1.0
    -added all the commands.
    Todo list:
    -add permisions if its required.
    Usage:
    1. Install plugin
    2. Run Server
    3. type in commands you want
    4. enjoy.

    Is this to any ones liking?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
    Hugo2dog likes this.
  2. Offline

    Celeixen

    Not bad, i like the idea.
     
  3. Offline

    Bush

    @Celeixen
    thnx, its only my second plugin, so it might have some errors to it
     
  4. Offline

    Celeixen

    I checked the code, i couldnt see anything that would break the plugin.
     
  5. Offline

    Bush

    @Celeixen
    there is the issue that if the player doesn't exist or isn'tonline it will make a huge error in console.
     
  6. Offline

    WizzleDonker

    You can counterract this by adding an IF argument so that the teleport function doesn't actually happen unless player is online.
    EG
    Code:
    if (player.isOnline()) {
    //your code goes here
    }
     
  7. Offline

    Bush

    thnx, i shall do it, lol
    gonna add custom messages to and customizable colors
     
  8. Offline

    WizzleDonker

    Awesome, can't wait!
     
  9. Offline

    Bush

    lol, i'm glad someone supports the plugin
     
  10. Offline

    MikeA

    I use CommandBook, what would the command /tp do? Would it be higher priority? I still want to use commandbooks teleport :)
     
  11. Offline

    Bush

    i can change this command, it currently has normal priority, but i can make it /tpto again if you want

    :D@Hugo2dog
    Thnx for the support

    btw, if anyone tested this or is using this can you please report back to me.

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

    JOPHESTUS

  13. Offline

    Bush

    why the bump?
     
  14. Offline

    dralletje

    does this work with other teleport plugins?
     
  15. Offline

    Bush

    not really sure, but you can test it and let me know
     
  16. Offline

    EdenCampo

    @Bush
    Awesome,testing.
     
  17. Offline

    Bush

    k, thnx i hope its worth your time
     
  18. Offline

    JOPHESTUS

    To help your plugin get some publicity :)
     
    Bush likes this.
  19. Offline

    Bush

  20. Offline

    Bush

    k, so this was my last plugin... I'm struggling to much. Thanx for the support.
     
  21. Offline

    ZachBora

    I was thinking of making something similar to this but with permission support and with teleport requests and summon requests.
     
  22. Offline

    Bush

    go ahead and make it, i gave up on plugin making, wasn't really getting anywhere
     
  23. Offline

    ZachBora

    Usually people who make plugins have a server of their own on which they use their plugins. If you are just making plugins for appreciation it takes more work.
     
  24. Offline

    Bush

    i had a server, now i only have the two plugins lol
     
  25. Offline

    Celeixen

    Don't give up, it just takes time. for your second plugin this was pretty good & you can add permission support in 2 lines.
     
  26. Offline

    Bush

    it doesn't help that its good, there is already lots of plugins like this, nobody's gonna use this one
     
  27. Offline

    MonsieurApple

    Please upgrade to latest RB
     
  28. Offline

    Bush

    you can mark as inactive as i'm not going to continue this.
     
  29. Offline

    MonsieurApple

    Marked as inactive
     
  30. Offline

    Bush

    thnx, it was stupid anyway
     

Share This Page