Inactive [TP] PrivateWarp 1.7.4 - Private Warping suite [1.4.4-R0.1]+

Discussion in 'Inactive/Unsupported Plugins' started by The_Wrecker, Jan 14, 2011.

  1. Offline


    PrivateWarp - The Private Warping plugin

    Warping since Dec 2010 ! Proven to last.
    Current Version: v1.7.4
    Download PrivateWarp
    Download PluginControl (v1.2.8)
    Compatible with:
    Tekkit (1.3.2) (Bukkit for minecraft 1.2.5)
    Bukkit 1.3.2-r1.0
    Bukkit 1.4.4-r0.1
    Other stuff:
    Download Waypoint Converter (to convert and maintain warp files)
    Download Full zip (Including PublicWarp 0.65!)
    Current, all downloads page (Includes instruction videos)

    I made one of the apps I have compatible with the format.
    It's a gui which lets you peak inside of the private warp files. Some parts are not yet finished, might not finish it completely, but you'll have a way to get the contents.
    Download here: GUI Editor

    The converter can read your waypoints.txt (former hmod plugin) and create PrivateWarp database files. Those database files can be copied/moved to the privatewarp player directory to once again have your old warps back.
    You can use my plugin to create private warps. Every player can have his or her own set of warps. You can also set categories so you can divide your warps in a logical list. For example: you can list builds other people have built in a separate category (ie "Other_Builds).
    The PrivateWarp plugin has a dependency with PluginControl. PluginControl is a plugin which handles not only permissions, but also plugin configuration (flatfile) based on groups. PrivateWarp now has per group based limitations (maxwarp and so on). This is not another Permissions system since it can use multiple Permission systems.

    This plugin has also been ported from the hmod mod. You can find the old thread here: hmod forum. The old plugin can still be used as a Canary plugin, you can find the link in the Canary forums. The plugin is also mentioned on my website here: Wrecker Technologies.

    Supported Permissions:
    -Vault (support for bPermissions and several others indirectly)
    -Built-in permission system (Groups.txt, built in PluginControl)

    • Ability to create personal private warps
    • Divide your warps into categories
    • Admin can access other warps through the /pwa command
    • A vault system with the /pwv command
    • Some other stuff not yet mentioned
    • Limit the amount of warps a user in a group can have
    • Group manager compatible
    • Permissions compatible
    • Built in fall back permission system
    Commandlist (in chat):
    • /pw
      Display your currently set private warps and categories. Only displays warps in the current category selected.
    • /pw set <name>
      Set/add/overwrite a private warp in your selected category
    • /pw del <name>
      Delete a private warp in your selected category
    • /pw goto <name>
      Use the warp , goto the location where you have set it (warp has to exist)
    • /pw catselect <name>
      Select the category (has to exist). Leave empty to return to default
    • /pw catcreate <name>
      Create categorie with given name
    • /pw catdelete <name>
      Delete the categorie (including the underlying private warps)
    • /pw help
      Displays usage and commands
    • /pwa
      All the commands of /pw except you can pretend to be another player. For example /pwa <name> set home. Sets the warp home to the player <name>. Should be an admin/mod command on most servers.
    • /pwv
      An admin can create a template(or set) of warp categories and names. These cannot be used(del, set) by the players. An admin can set a warp in the template to a player which the player can use. Should be an admin/mod command on most servers.
    • /pwv put "player" "warp"
      Set the templated warp to the player
    • /pwv rem "player" "warp"
      Removes the warp from the player
    The rest of the commands for /pwv are the same as /pw except they don't store any coordinates and it functions as a template for the vault system.

    • /pwr <nr>
      Recall previous used warps. Start at 0 (0 is the most recent)

    Configuration of the plugin(s) is done in the PluginControl data directory.
    For example:
    • bukkit/plugins/PluginControl/PrivateWarp/<groupname> (properties for that group)
    Following 2 files are only there when the built-in permission fallback is used:

    • Users.txt contains the users
      A user is defined like so: The_Wrecker=admingroup
    • Groups.txt contains the groups (first line is the default group)
      A group is defined like so: admingroup=pw;pwa;pwv <- changed due to onCommand()
      A new line is for another group or user.
    Permissions nodes :
    • PrivateWarp.pwa
    • PrivateWarp.pwv
    • PrivateWarp.pwr
    Configuration file:

    Private warp configuration file (under the PluginControl data directory)
    • max_warp=10 Maximum of total warps
    • max_categories=3 Maximum categories a player can create
    • max_warp_categorie=3 Maximum warps in a category (excluded the main/default category)
    • max_cache_minute_timeout=30 Amount of time data is considered useless (0 not ecommended)
    • cleanup_cache_minute_timeout=5 Amount of time between cleanup runs (0 not recommended)
    • Warp_timeout // configurable timeout before warping
    Todo (featurelist)
    • DynamicMap warplocations
    • Sharing warps with other players (/pws)
    • TimeStamping warps (create/modified)
    • Add comments/descriptions to warps
    • Data dir cleanup (--fixed useles creation of files, just needs a cleanup run)
    • Initial starting warp list (a list you get when you first enter the server)
    • Calculate distance to a warp from current position (possibly including height)
    • Changing on the fly config with a new plugin
    • Zones where warps cannot be set (PluginControl feature actually)
    • Cool down function for commands (suggestion from ethood1999)
    • Warp maintenance tool
    • Fix up warp count versus vault warps (partly coded)
    • Add fully qualified warp names (category/warp) Suggested by Ture
    • Warpname Template
    • Redo configuration (add warmup message)
    Having problems?
    try this:
    Loading error 1
    Loading error 2
    Try to pay attention to what the log says when starting Bukkit. Might contain some important hints.


    Version 1.7.4 RC
    • Built against 1.4.4 R0.1
    • Fix when using /pwa (out of bounds error in thread)
    Version 1.7.1 RC
    Missing some versions because those were officially released as unstable. Below changes sums up some of the changes.
    • Built against 1.2.5 R0.1
    • Upgraded permission detection (direct support, PEX and Essentials)
    • Vault Support
    • Message that you'll warp when using a warmup - timeout
    • Some internal structure changes
    Changelog (open)

    Version 1.6.4 RC
    • Built against Bukkit 1370
    • Use of new Event system
    • Beware of Permission systems (I expect a few problems due to changes/breaking of the other plugins)
    Version 1.6.3
    Does not exist (skipped)

    Version 1.6.2
    • Fix to get material type from block
    • A way to force the built-in permission system regardless of other systems installed (checks for existance of groups.txt under the PluginControl directory)
    Version 1.6.1
    • Built against #1578 for 1.0.1 support
    • JDK7 support update
    • Fix for the race condition when warping/teleporting
    Version 1.6.0
    • Fixed crash due to multi byte character reading
    • Added multithreading for every command passed through PluginControl (Meaning the whole set of commands currently available for PrivateWarp)
    • Fixed the error message when you have no rights to use the command
    • Java JRE 7 supported
    • Updated building path to create new Jar
    • Better code to read configuration property readings
    • Support for Permissions updated (bPermission, PermissionEx, SuperPerms)
    • New detection system to detect Permissions (1.5.1 fix)
    • Splitted code for handling commands
    • Player cache managing code reorganized
    • Better file handling (should disable the creation of empty PrivateWarp files)
    • Removed seperate quick and dirty warmup code
    • Refactored AbstractPlugin OO layer
    Version 1.4.9 > 1.5.0
    • Fixed default warping timeout
    • Fixed bug where warpname was passed to permissions
    • Added softdepend loading to yml
    Version 1.4.8 > 1.4.9
    • Added warping delay (default 5 seconds, adjustable in config)
    • Added rename command (/pw ren <old> <new>)
    • Added move command (move warp to another category /pw mv <warp> <cat>)
    • Added shorter aliases for known commands (see help)
    • Refactored the code base a bit for future changes
    • Built against CraftBukkit 953 (minecraft 1.7.2)
    Version 1.4.7 > 1.4.8
    • Added configbit to config files
    • Built against CraftBukkit 818 (minecraft 1.6.6)
    Version 1.4.6 > 1.4.7
    • Fix on help sub command
    • Check for blocks before warping
    • Check alternative warp location
    • Warn and notices when your warp is not quite right (warping yourself half into a step stone for ex.)
    Version 1.4.5 > 1.4.6
    • Updates towards the latest Bukkit releases
    • Fix for built-in permissions (AGAIN!)
    • Smarter cache system
    • Update for Public Warp
    Version 1.4.4 > 1.4.5
    • Updates towards the latest Bukkit releases
    • Fix for built-in permissions
    • Added Essentials Group Manager plugin
    Version 1.4.2a > 1.4.4
    • Updates towards the latest Bukkit releases
    • Still has a known issue with built-in permission system (PluginControl)
    • Seems Bukkit changed the way namespacing works... This threw errors around (IllegalAccess Exceptions)
    Version 1.4.1 > 1.4.2a
    • Built with PluginControl(0.52a)
    • /pwr change
    • Recommended build #602 update and fixes
    • Previous release is revoked(1.4.2), hence the added 'a' in this release.
    Version 1.4.0 > 1.4.1
    • Built with PluginControl(0.51)
    • Fixed /pwv put command
    Version 1.3.9 > 1.4.0
    • Built with PluginControl(0.5)
    • Changed the way how the plugin(s) output text
    • PublicWarp might be independent now
    • Removed the default_world check
    • Removed Warp converting from old PrivateWarp version
    • Did an auto updating page (see link previous versions)
    Version 1.3.8 > 1.3.9
    • Built with PluginControl(0.49)
    • Compatability update for build 522
    Version 1.3.7 > 1.3.8
    • Built with PluginControl(0.48)
    • Nothing special added or fixed for PW
    • Support for PublicWarp (test-released plugin)
    Version 1.3.6 > 1.3.7
    • Built with PluginControl(0.47)
    • Fixed null when no default group in fallback
    • Added GroupManager support
    Version 1.3.5 > 1.3.6
    • Built with PluginControl(0.46)
    • Lazy warpname matching in goto subcommand
    • Code cleanup (mainly init stuff)
    Version 1.3.4 > 1.3.5
    • Built with PluginControl(0.45)
    • Update to use Phoenix permissions 2.4
    • Constructor fix
    • Shifted to onCommand
    Version 1.3.3 > 1.3.4
    • Built with PluginControl(0.44)
    • Less IO
    • Fix to /pwv put command
    • HACKY FIX considering the constructor stuff, but works for now.
    Version 1.3.2 > 1.3.3
    • Built with PluginControl(0.43)
    • Added /pwr to help
    • Redid some logging
    • Only show conversion log when it's 'interesting'
    • Teleport hook code for pwr (probably not yet functional)
    • Some more minor fixes
    Version 1.3.1 > 1.3.2
    • Built with PluginControl(0.42)
    • MAJOR Fixes to the plugin loading thing (I hope I got it nailed this time, I haven't seen errors while testing).
    • MultiWorld!!! (For conversion to new format add: "default_world=<world_name>" in config. The Plugin will ask you to do this.)
    Version 1.3.0 > 1.3.1
    • Built with PluginControl(0.41)
    • Added /pwr command
    Version 1.2.9 > 1.3.0
    • Built with PluginControl(0.4)
    • Made calls to Nijikokun's permission static
    Version 1.2.8 > 1.2.9
    • Built with PluginControl(0.3)
    • Code for Nijikokun Permissions through PluginControl
    • Fallback to basic mode when plugin can't be loaded somehow (which was the case for me)
    Version 1.2.7 > 1.2.8
    • Built with PluginControl(0.2)
    • Removed a potential memory leak
    • Better handling when dependency is not found
    Version 1.2.6 > 1.2.7
    • Added permissions with PluginControl(0.1)
    • Per group based limitations
    • /pwv, /pwa available again
    Version *.*.* > 1.2.6
    • Removed the /pwa and /pwv command (temporarily)
    findus1994 and DoomLord like this.
  2. Offline


    oh sry, my english is not so good -.-

    corrupted != interrupted
  3. Offline


    That's no problem. I now understand where the question came from ;)
  4. Offline


    Hey fellow minecrafters,

    I'm aware of the new recommended build. I've been too busy this week to release unstables. I don't expect bugs with the new Recommended Build though. But I'll test and release a new version if necessary.


    Just ran a quick test. Plugin seems fine in build 860.
  5. Offline


    Plugin won't let any ops use it in 860. I've given explicit permission to my admin group (who are all ops), and it still says No Permission.
  6. Offline


    Thanks for the report, but before I can help you.
    What plugins are you using? Especially the permission plugin What does the plugin say in the console/chat. What version of Bukkit are you running?
  7. Offline


    I'm running 860. Using the Permissions plugin with Essentials.
  8. Offline



    can you now post the startup console log of the server. Especially the part where PluginControl starts.

    It actually says you do not have permission to use the command. Now I need to know from what system it gets its info (or thinks it is getting it from).

    I tested with the essentials permissions (groupmanager) and I had no problems granting permissions.
    22:54:57 [INFO] Loading PluginControl Version 0.57
    22:54:57 [INFO] Using Essentials Group Manager plugin
    22:54:57 [INFO] PluginControl started
    22:54:57 [INFO] PW: Start loading of PrivateWarp 1.4.8
    Make sure you have something similar in your log....

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


    Yeah, we don't use GroupManager. Its not really hooking into any permissions plugin atm, even though Group Manager is enabled, its not the one we use for stuff.

    2011-06-16 14:59:42 [INFO] PW: Start loading of PrivateWarp 1.4.8
    2011-06-16 14:59:42 [INFO] PW: Starting initialization of PrivateWarp
    2011-06-16 14:59:42 [INFO] PW: Copyright: Wrecker Technologies
    2011-06-16 14:59:42 [INFO] PW: PrivateWarp 1.4.8 initialized
    2011-06-16 14:59:42 [INFO] PW: Just got enabled
    2011-06-16 14:59:42 [INFO] PWP: PublicWarp got enabled
    //Sorry, wrong part. The freaking log file is 32Mb, so it takes a few minutes to come up.
  10. Offline


    I don't see PluginControl in your logging. Do you have it installed? What does it say?
    Plugin Control manages permissions (and some other stuff) for all my plugins. So it's vital to know what System it uses/picks.

    I think it picks one of the installed permissions and use that. While you're thinking it uses something else... At least that's my hunch...
  11. Offline


    Okay, I derped.

    Its using the Group Manager we forgot to remove that plugin. I'll fix that up and see if it resolves this.

    Yeah, I posted the wrong part, that's what the edit was supposed to mean.

    I'm going to remove the Group plugin and see if it then hooks into the one we actually use. I'm sure it will though.

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


    Got a new Unstable,

    untested, just a Dev build. Somewhat better structured code....

    I'm also pushing PluginControl to a version 1.0 in the next stable...
  13. Offline


    Is there anyway you can implement a warm up/cool down for this plugin? I like it a lot but I can't use it on my PvP server if people are gonna be using it to escape battles all the time.
  14. Offline


    Sort of a timeout... for commands right?
    I think I'll be able to make something for that.
    Maybe temporarily disabling the command as well?

    I've added it to the to-do, but I'll make a selection when I start programming new functionality. I'll post here which gets implemented...
  15. Offline


    Yeah, like if I type "/pw goto base3", I have to wait 5 seconds and (possibly, if it's not to much) not move at all until the 5 seconds is up then it will automatically teleport me to "base3". That way, you can't use PrivateWarps to evade battles.

    I don't know if that's too much, but I really don't want to give up on this plugin, my users and I have gotten so accustomed to it and we still want it for the PvP server.
  16. Offline



    sounds good enough. Another benefit would be that a server is less likely overloaded when people keep warping around. They'll have to wait before warping again.

    I'm polishing the code for the properties first though. Also for the next RC I've made sub aliases for catselect, catcreate, catdelete (cs,cc,cd). And goto gets a shorter alias 'go'.

    The data directory cleanup code is also the next on the list... I had a question to the server admins about that, but I never had any response...
    How many files do you admins have there?

    Than I can work on your suggestion. Takes some time to get it right so I'll release unstables you could test out...
  17. Offline


    We have 110 files in that directory one for everyone logged in most we would use is like 20-30 with the vaults mby up to 100 out of 300+ with separate prv warps/homes we are planning once we go to the multiworld setup.

    I think I asked this but can the system be made to work with iconomy for a price to use the warps and one where you can set a higher price the more points they make? Like make 1 warp price is say 250 set 2 warps price is 500 for the second warp they make etc.

    Still hoping sometime there can be commands that I can give to mods to set a defined warp point last thing I want is mods having access to the hole pwv system and using it for themselves and other players etc when I only want them to have 'pwv put playername vault' in a nice way like '/setvault playername' or something.
  18. Offline


    In which directory?

    I would be glad to test unstables. Thanks for much for thinking about my suggestion.
  19. Offline


    Thanks for the input!
    I am working on the permission part as well. Or at least the integration with PluginControl. Might be easier to implement what you want later. Last time it was quite a hassle to do that. And I've been looking at the commands too, but that's not yet done.

    it's in the privatewarp plugin directory (bukkit/plugins/privatewarp/players).

    I think a lot of those files are not used and are probably empty. I thought about cleaning files up that are empty.
  20. Offline


    I have 205 items in my /players directory.
  21. Offline


    Thanks for the input about the number of files.

    Not a frightening number of files, but a lot more than needed nonetheless. It won't impact performance much though. It does not matter how many files are there since they get picked up when needed...

    It is/would be nice to limit those numbers nonetheless.
  22. Offline


    this breaks essentials now. this is the only error i find

    2011-06-26 21:21:34 [INFO] Using Essentials Group Manager plugin
    2011-06-26 21:21:34 [SEVERE] Another plugin is trying to enable GroupManager manually. Don't do this! It's probably
    2011-06-26 21:21:34 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 10 minutes!
    2011-06-26 21:21:34 [INFO] GroupManager version 1.0(alpha-5) [Zombie-Version, please switch to Permissions 3] is enabled!
  23. Offline


    Probably in the new version of essentials. I'll update...

    Built a new release candidate you can test. Haven't tested it since I don't use Essentials. If you can tell me if it's fixed. Thanks.

    Confirmed working with build 935
  24. Offline


    can you set different amounts for different permissions classes?
    and if yes, how?
  25. Offline


    Yes you can, it's group based.
    Check the group files under the PluginControl data directory (bukkit/plugins/plugincontrol/privatewarp).

    You can edit those files with a text editor.
    Further more next release has a new subcommand. Implemented the rename function.
    (find it under /pw help)
  26. Offline


    Have you started progress on implementing a cooldown (and/or warmup) for PW commands? :)
  27. Offline


    I looked but dident see, IS THIS WORKING WITH PERMISSIONS 3.0?????????????
  28. Offline


    Still have to update the permissions part in PluginControl (mostly testing I guess). Had the rename on my to do a long time ago so I just had to put that in. I'll have to do the 'move' as well btw.

    Cooldown and warmup might be done tommorrow. At least I'll try to put it in the release for 1.7 (Bukkit).

    I've built a new unstable where I have implemented a timeout. You'll have a new property called warp_warmup. Default it 'll be set to 5000 (it's in milliseconds).

    It should wait the timeout amount before actually warping.

    You should know that I'm not actually satisfied with how it functions and the next thing would be rewriting it to a more elegant solution, but for now this should work. I haven't tested it yet either. I'm a bit tired from work.

    So it might be completely broken or it might just work.

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


    Tested out the delay and it works. I'll do a rewrite for that later.

    Permissions 3 does not give any compile errors. So it probably works. Just try it if you can. It's hard for me to test all those permission systems... They cannot be together in 1 bukkit install...

    Any error you can post here.
  30. Offline


    Hey Wrecker, is there a way to get the data out of the privatewarp files? I need to get the warp names, locations and players out of the files for use in something else - I can't work out how to do it :\
  31. Offline


    Gonna promote a new stable build this weekend.

    Right now I recommend the latest unstable. There are no known bugs in that one.

Share This Page