[TP] Personal Warps v1.2 - Save your favorite locations [953]

Discussion in 'Inactive/Unsupported Plugins' started by gameguy27, Jul 3, 2011.

  1. Offline

    gameguy27

    Personal Warps - Save your favorite locations!:
    Version: v1.2
    Ever find a cave you want to visit later? Or lose the place of your home/structure? Well now you won't with personal warps! This is a pretty lightweight plugin and basically plug n play.

    Features:
    • Each player gets their own personal warps
    • Set number of warps
    • Set a different amount for ops
    • Set custom messages
    • Change and View the number of warps players/groups has in game
    Download Personal Warps 1.2
    Source Code
    Github

    Commands:
    Commands (open)
    Code:
    /setpwarp <warp_number>
    Sets a personal warp
    Requires node if permissions
    
    /pwarp <warp_number>
    Goes to personal warp
    Requires node if permissions
    
    /getpwarps <player>
    Gets number of warps a player has
    Requires node, or op if no permissions
    
    /setpwarps <player> <number>
    Sets the number of warps a player has
    Requires node, or op if no permissions
    
    /getgwarps <group>
    Gets the number of warps a group has
    Requires node, or op if no permissions
    
    /setgwarps <group> <number>
    Sets the number of warps a group has

    Requires node, or op if no permissions

    Config:
    Plugin auto generates the config. In all of the message properties, you can type {IND} and it'll replace it with the index the player passed through.
    Config File (open)
    Code:
    # number of warps ops get
    Ops-Warps=10
    
     # warp set message
    Warp-Set-Message=Warp {IND} set.
    
     # warp goto message
    Warp-Goto-Message=Teleported to warp {IND}.
    
     # number of warps everyone else gets
    Warps=5
    
     # invalid warp message
    Warp-Invalid-Message=Warp {IND} is invalid.
    
     # warp nonexistant message
    Warp-Not-Exist=Warp {IND} does not exist. 


    Permissions:
    If permissions is detected, they will be used.
    Permission Nodes (open)
    Code:
    personal.warps.use - Allows the player to set warps and warp.
    Commands:
    /setpwarp
    /pwarp
    
    personal.warps.admin - Controls and view number of warps players/groups has
    Commands:
    /getpwarps
    /setpwarps
    /getgwarps
    /setgwarps


    Permissions.yml is generated regardless if permissions is detected or not. Using this file you can change the number of warps users and groups have. Here's an example file.
    Permissions File (open)
    Code:
    users:
      Drislens: 99
      DecisiveGamer: 15
    groups:
      Admins: 50
      Default: 5

    If permissions aren't detected, the plugin will still use the "users" nodes. For example, you don't have permissions but you have "Drislen" set to have 99 warps. Drislen can use 99 warps even though Permissions isn't being used.

    Old Downloads
    Version 1.1 [953] (Jar | Source )
    Version 1.0 [953] (Jar | Source )

    Future Plans:
    Version 1.3
    • Add MySql support for saving
    Changelog:
    Version 1.2
    • Added commands to change and view number of warps
    Version 1.1
    • Added Permissions
    Version 1.0
    • Initial Release
     
  2. Offline

    instipod

    Isn't the latest build 935?
     
  3. Offline

    gameguy27

    Nope. On the homepage in the side bar it says 953.
     
  4. Offline

    iffa

    You need plugin version in title.
     
  5. Offline

    gameguy27

    Fixed.

    Updated to 1.1. Added Permissions support.

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

    oliverw92

    This looks great - really nice and simple. My only request - could you add MySQL support. Use Bukkit Persistence - it is seriously simple. If you put the source code on github I could fork it and do a pull request showing you how to.
     
  7. Offline

    gameguy27

    Alright, setting up a github account and repo now.

    Finished setting up the repo. Had some troubles at first due to me being stubborn and ignorant. But its up, gonna set up the wiki later. Also I added another Future Ideas. Version 1.2 will allow you to change the number of warps players/groups get using commands. That will be worked on today.

    Here's the git, will add to the first post when 1.2 is done.
    https://github.com/gameguy/Bukkit-Personal-Warps

    Updated to 1.2. Added in game commands to change and view number of warps a player/group has. 1.3 will have mysql support as soon as I figure out how to implement a MySql library into java. I'm pretty familiar with how MySql works. It should only be a couple of days before I get it working.

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

    oliverw92

    You don't need to implement a mysql library - it is included in bukkit. I strongly advise using bukkit persistence because you have to do pretty much nothing to get a good setup going.
     
  9. Is it possible with this plugin to give a certain amount of warps to a certain group?
    e.g, Donator group has 2 warps, whereas a Super Donator group has 6?
     
  10. Offline

    IJosephI

    Can you add commands to delete personal warp for users and admins?
    And make please command /pwarp working not only with numbers.
     
  11. Offline

    gameguy27

    I'll add those when the next RB comes out. Hopefully it won't be too long.
     
  12. Thanks, it would be useful and much appreciated.
     
  13. Offline

    gameguy27

    Actually this is already possible. Look at the commands and the permission nodes and the permissions file. Just as long as you have the permissions plugin it'll work just fine.
     
  14. ahhh, i can see it now :p hehe, thanks alot, you do mean this dont you ?
    because then couldn't i make (under groups) a group called Donator: 2 <-- which means there max warps are 2?
    Thanks alot :)
     
  15. Offline

    gameguy27

    Something like this.
    Code:
    users:
      Drislens: 99
      DecisiveGamer: 15
    groups:
      Admins: 50
      Default: 5
      Donator: 2 # donator gets 2 warps
    And if you have permissions in game you can use commands to set warp count.
    /setgwarps Donator 2
    This sets the number of warps a group gets. In this case Donator, and they get 2.

    Its going to be a few days before release but here are the new features planned.

    Features:
    Help with list of commands.
    Warps can be set with strings.
    Warps can be deleted.
    Warps can be listed.
    More admin commands.

    Due to the new features, there will be some new commands for admins and for normal users. And all previous commands are being renamed. Here is the final list of commands.

    Admin Commands: (Must be OP or have personal.warps.admin)
    (Side note but pa = Personal Warps Admin, just to shorten commands and to display being an admin command)
    /paclearall - Deletes all warps from every player (pa = Personal Warps Admin)
    /paclear <player name> - Deletes all warps from a player.
    /palist <player name> - Lists warps for player.
    /padelete <player name> <warp name> - Deletes warp from player
    /paset <player name> <warp name> - Sets a players warp. This does take one of the players warp slots!
    /pagcount <group> <warp count> - Sets a groups number of warp slots. If warp count not entered, will display the number of warp slots the group has.
    /papcount <player name> <warp count> - Sets a players number of warp slots. If warp count not entered, will display the number of warp slots the player has.
    /pagoto <player name> <warp name> - Goes to a players warp.

    Normal Commands: (Without permissions, anyone can use, with, players must have personal.warps.use)
    /pwhelp - lists all commands and usage (displays admin commands if player has permissions)
    /pwlist - lists all warps the player set
    /pwdelete <warp name> - deletes a warp
    /pwset <warp name> - sets a warp
    /pwgoto <warp name> - goes to a warp

    If you think I'm adding to many new features lemme know, some people would rather keep it simple. If you want any more features lemme know! Be watching for an update in a couple of days. :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  16. No, i think these are better actually, alot of my users have been asking for the ability to delete them, so they can reset elsewhere, good job ! :D
     
  17. Whens the update coming ? :D
     
  18. Offline

    gameguy27

    I was hoping to have it earlier but a surprise vacation hit me. Forgot to bring my laptop. Anyways I'll get to work on it now that I'm back. Sorry guys S:
     
  19. haha no problem, it happens! good luck on the update!
     
  20. Offline

    Kaosvf

    does it work for #1060?
     
  21. Offline

    RaesWolf

    Is this compatible with 1085 CB build for 1.8?
     
  22. Offline

    RaesWolf

    Please UPDATE FOR 1337!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    ALSO ADD WARM UPS AND COOL DOWNS. sorry for caps it got stuck
     

Share This Page