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


    Uploaded a new version: 1.0A ALPHA

    World renaming looks like it works correctly now. And the conversion of the old PrivateWarp file format.

    Merging the two server worlds need some work (read: has bugs). It does do something and does a merge, but just not quite right.
  3. Offline


    Can I allow one group to have say like a max of 10 warps and another group to have 15?
  4. Offline


    Yes you can. PrivateWarps configuration is divided per group in PluginControl. In the PluginControl data directory you will find a directory called PrivateWarp. That's where the configuration is stored.
  5. Offline


    Thank you thank you thank you! The new Converter worked perfectly! :D
    Now my hMod warps are on Bukkit. Our ties to hMod are all now gone! Whoo hoo! Bukkit forever!
  6. Offline


    Released a BETA build of the converter.

    The merger should now work, but I'd advise to test if it went ok (and backup before starting).

    It doesn't say much during the merge and You should only executed it once (or get a lot of duplicates) . I'm not checking on that (hence the beta).
  7. Offline


    Confirmed working great with CB #678. :)
  8. Offline


    Thanks for reporting MacG32
  9. Offline


    You're welcome and thank you for a great plugin. :)
  10. Offline


    I'm awaiting the next Minecraft update. It might or might not break some things. I'll try to to update the plugin asap if necessary when the next release comes. Notch said it would be this week.
  11. Offline


    For next update can you hide the 'your private warp data has been removed' messages I'm getting players asking what those are.

    I don't think players need to know that mby it can be a option.

    Also is there a chance to have a private warp thing for a group like admins so you make a warp for a group.

    We have a admin area on our vault complex we don't want standard players to access in heyo we put a group at the end of the warp to lock access to that group.
  12. Offline



    I'd like to give you some background info about that message. That message is coming from a mechanism which reduces memory usage and keeps memory leaks from happening. The plugin uses a mix of cached and volatile data. When that message occurs both are dropped from memory.

    To be clear it's not an error, just a notification.

    When the player had a category selected, this will be set to the default again. Also all the /pwr recall warps are reset for that player.

    So it is actually useful information. Given you understand what is going on. Again I see that I wrote the message from a programmers point of view I guess. So I agree that the occurrence of that message should be kept to a minimum, but I don't like to remove it altogether either.
    I'm thinking to enhance the logarithm to be a little smarter. Adding another property which sets another timeout. The original will be for offline players, the new one for online players, seperating the timeout value for online/offline.

    The solution to your problem would then be, to set the online timeout value to be a lot higher. Probably 3 to 4+ hours (or maybe even up to 8 hours). While keeping the offline timeout fairly low. Thus probably (in most occasions anyway) eliminating the message while your players are online. Another side affect would be that the cache is actually a little more efficient. So you can also set the timeout to run the cache cleanup a little higher (30 minutes for example). Which again results in less used clockcycles (which is good right). When the player logs off their data gets removed from memory instantly and when it doesn't the offline timeout still kicks in.

    Just another note:
    Because of the /pwr command it now probably happens more often. Since that volatile data gets saved in memory. When a player does not warp and does not use PW, you get that message after the configured timeout. Since the first warp you do is actually logging on (which is /pwr 0).

    I don't quite understand the admin warp thing. Sounds like something to put into PublicWarp, not sure.

    This week I did not get around to programming a lot since I had a network issue. One of my switches slowly died (crippling part of my network). I tried repairing it, but it really was irreparably broken. Today I bought a new Cisco switch which I just installed. The network still needs some tests, but it seems to be a lot more stable than before. Also haven't finished tidying up all the network cables, but that's something I'll do later.

    I'm eagerly awaiting the new Bukkit releases though. Looking forward to the 1.5 Bukkit release.

    I did a small test on CraftBukkit 705 (Minecraft 1.5).
    Plugin ran without errors in my test.

    Just thought I'd mention it.

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


    The cleanup is good but was thinking could just hide the messages from general view.

    Also the warp is so we can have a warp for the admin group. only in private warp as we are using warpzor for main warps may ask them about it.
  14. Offline


    In short with above solution/change:
    The messages are not likely to happen when the player is online (or he has to be online for 8 hours straight without any warping, which is highly unlikely). It'll happen when the player logs off. Thus in a way hiding the message since the player is not there to see it.

    Hope it makes a bit more sense now.

    I still don't understand the 'admin warp'. You mean something like a vault warp? Or a shared set of warps for a certain group? If the latter, I'm planning that for Public Warp.
  15. Offline


    ahhh 2nd one mainly as we have a complex with hallways with nametags and bedrock tnt etc in chests we use to make more areas so we keep that only for us.

    Thanks for the clarifications I'll change the settings sometime.
  16. Offline


    Indeed you can set it higher already (you can try setting it to an 30 min or so). Prevents some of the messages (but not all), but I have to program/implement the algorithm enhancements(which in essence eliminates them).

    So a warp that is shared across a group. Definatly a plan that's for publicwarp. Original plan was to have warp pools for certain groups. A group could have acces to one or more pools that you define.

    Alright I got the algorithm set up. So it'll be in the next release. I did change some of the names of the properties. So you can set the caching properties to whatever you want. I'm setting the default for online player to 5 hours.

    The next release will be when there is a new Bukkit 1.5 recommended build. You guys can start nagging me when that build is there ;) . First I'll be testing this out.

    edit :
    I've seen the front Bukkit page. Seems a recommended build is going to be released soon. Nice.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jan 8, 2016
  17. Can you update? :)
  18. Offline


    Soon eastonch,

    I just like to build it against a recommended stable release.

    I'm thinking about setting up a seperate build process, something like an 'unstable'.
  19. Offline


    Been a while my friend but im back, well I was here but not much to talk about has gone on, tsk tsk I did notice all this time no work got done on the interface for the Public warps.

    Eaither way im just joining the same boat as u waiting till a reco is out since 1..5_x is already ****** up enough as it is let alone have bukkit contribute to it, In fact I'm almost certain I will be holding off until Minecraft 1.6 that is already announced to be underway for possible next week release.

    I can say one thing tho the people who can openly admit they have none of issues present in 1.5 must be daft its even listed on the minecraft version history wiki 1.5 introduced like 12 bugs and fixed 4 ending with version 1.5_03 ends up bringing the list of bugs down to about 5 ISH* bukkit temp fixed some and I think only 3 major issues left.

    One being the track curve bug and some others to do with BAN's and Chat lines.
  20. Offline



    I know. I've been working on other things as well (non Bukkit/Minecraft related).

    I'm planning a bigger release though instead of several small ones. Halfway this week i got a testbuild planned. Just not sure if there's a good Bukkit 1.5 RC build yet.
  21. Offline


    Tested 1.4.5 with the latest recommended build #733.

    No direct problems as of yet .
  22. Offline


    Can There be a option to reorder the commands?

    For making vaults for us it is '/pwv put player vault'

    As player is the variable we cant really make it a short command with command helper.

    Be nice to be able to '/pwv put vault player'

    That way we can remap '/pwv put vault' to a nicer easier command as '/setvault'

    Also a way to remap pwa to make it easy to goto players vault.

    '/pwa goto player vault'

    Same thing but remap-able

    '/pwa goto vault player 'name''

    Where only name is the variable.

    Also a cut down permission for pwv and pwa that we can give to mods.

    We just want them to set vaults from a single template warp, and goto them with pwa and nothing else cause our mods were admins at one stage but started using tools a bit much for themselves.

    Go all I want to give to mods is:

    '/pwv put vault player'
    '/pwa goto vault player 'name''

    Where vault is my template I have assigned and are allowing mods to use.

    And that's all they could no nothing else on the pwv or pwa commands can be used.

    As I can see mods making themselves 5 or so private warps which they have back in heyo days made warps and even used gcheck location for a warp :/
  23. Offline


    Hey Revenger,

    I'll see if rearranging those commands is possible and those permissions. I don't have a lot of time on my hands lately... so I'll have to plan a day where I can dedicate myself to Bukkit coding (I have too many snippets laying around).

    Another note. Seems like Canary (formerly hmod) also has a working mod. My old PrivateWarp hmod plugin still seems to run on that. That's kinda cool.

    Darn, Seems I have to revive a pc this weekend. It can't access/mount a volume. At least I can do some coding while copying files....
  24. Offline


    I've been building some releases, but 1.5 still feels kinda buggy to me.

    That's why I made a section with 'Unstable releases'. I'll leave 1.4.5 as a stable release since it just works. You can check out the new downloads here:

    Btw. Revenger, I've been trying to change the command, but it's a little more complicated Since a player also has an empty command. Anyway, I haven't tested it, but maybe commandhelper can still help you.
    I saw something like this in v3:
    /i $data $qty = /give player() $data $qty

    Maybe something like:
    /addvault $player = /pwv put $player vault
    could work?

    Still leaves the permission part....


    I splitted the command for PublicWarp unstable btw. /wp <warpname> is sufficient for now. /wpa is the same as the previous /wp.
  25. Offline


    Oh yea NP was never really worried about the starting use commands other then "goto" in my mind it just seems to be a better choice to have a user do just /wpa "warpname"

    Where basicly all it would do is if no command was given after the space treat it as goto. Thats pretty much my only beef with the command system.

    I have not tested 1.5 did not even know it was out tbh, Frankly struggling to much with 1.5 _02 since notch releases builds all the time that are worse then alpha builds in terms of network code and clean code bla bla.

    Huge impact on performance of smaller servers due to just shitty optimized code and network usage, Yet he persists with his MAP's idea thats going nearly double that load that man must be "excuse me for this and you lovers are just going to have to ignore me" - A utter ****tard to be so cheery about his game right now if anything i develop ends up that bad I would give my money back to the people who asked for it.

    I would feel bloody ashamed of my self taking money for a game where MP hasonly gone DOWN hill since alpha.

    Enough Rant, what else is new about 1.5
  26. Offline


    I have had increasing users report death by /pw seems when 2 type the command at the same time they die :/
  27. Offline


    Thanks for taking a look anyway.

    Haven't put in the new command helper as we have a intermediate system before going to our multiworld setup but will eventually.

    Mby a a couple sub permissions might do it also thinking about it.

    • PrivateWarp.pwa.goto
    • PrivateWarp.pwv.put
    That would mean anyone with those sub commands can use only put and goto which are kinda the same things as I asked but a little different if this could be done.

    But I really appreciate soo much you are looking into these things.
  28. Offline


    I was thinking about a pwv-extended permission thing which could be set. I don't really wan't to pin myself down on using nodes. I think I could also make it a property. Was trying something in the unstable, but it did not work out yet.

    Oh, btw I forgot to mention. The new cache algorithm is also in the unstable build. Some configuration names have also been changed in the config files....


    I don't know why that would be happening. The only reason I can think of is that they ended up in a wall or something. I also don't think it is possible I'm mixing up locations or something. The list is synchronized.

    Keep me informed though.

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


    Here is a issue I have when attempting to run your plugin.

  30. Offline


    04:06:53 [SEVERE] tried to access class from class loading PluginControl v0.54 (Is it up to date?)
    java.lang.IllegalAccessError: tried to access class from class
            at<init>(Unknown Source)
            at wrecker.control.PluginControlPlugin.onEnable(Unknown Source)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(
            at net.minecraft.server.MinecraftServer.e(
            at net.minecraft.server.MinecraftServer.a(
            at net.minecraft.server.MinecraftServer.init(
    04:06:53 [INFO] PW: Start loading of PrivateWarp 1.4.4
    04:06:53 [WARNING] PluginControl is not yet running
    04:06:53 [SEVERE] wrecker/tech/q loading PrivateWarp v1.4.4 (Is it up to date?)
    java.lang.IllegalAccessError: wrecker/tech/q
            at<init>(Unknown Source)
            at wrecker.control.PluginControlPlugin.a(Unknown Source)
            at wrecker.control.PluginControlPlugin.b(Unknown Source)
            at Source)
            at Source)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(
            at net.minecraft.server.MinecraftServer.e(
            at net.minecraft.server.MinecraftServer.a(
            at net.minecraft.server.MinecraftServer.init(
  31. Offline


    Can you both try out the unstable build?
    (follow the unstable link on that page)

    Did you upgrade PrivateWarp and PluginControl? When did the error start?

Share This Page