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


    Tested 1.3.4 on Craftbukkit 406 & 409

    Works like charm.
  3. Offline


    Glad to hear it.

    I hope Bukkit is going to contain/add a method like onload/initialize to the plugins soon. I need something like that.
  4. Offline


    I just hope bukkit stops meesing around and gives us the darn Official basic help,permissions API already So I can rest easy knowing my darn permissons are not going to break each time Niji decided to make a new version.

    I'm not bothering to update to 1.3 plugin yet Permissions wasnt to release neew versions doing mulitworld support and that will break them all anyway.

    Ontop of that who knows when worldguard and worldedit will get a fix. I going out for the weekend instead anyway.

    Camping fri-mon can come back and wrestle with another completely bugged Notch update when I return.

    From I have seen notch is going to patch yet again very soon, with snow spawning in deserts and night never comming around ect.

    Also our maps are going to LOOK ugly again with new "UGLY border issue" Sandstone being placed under sand and glay as well. New map gen always gives us heartach havign to try and Smooth the darn boders out.
  5. Offline


    There seem to beissues with #432

  6. Offline


    I don't see any stacktracing coming from my plugins code. So I don't see what's going on there. Seems to be coming from Bukkit.
  7. Offline


    might be bukkit somehow... no clue really... I thought I post it here because PW was just the plugin loaded before.
  8. Offline


    My plugin 1.3.4 will most likely break with one of the newer builds soon.

    I'm just warning you before hand...
  9. Offline


    Getting an invalid plugin error on startup, using CB build 441. [​IMG] - Thanks for porting this btw, our players rely on it a lot to find their buildings!

    2011-02-25 11:11:04 [INFO] PW: Start loading of PrivateWarp
    2011-02-25 11:11:04 [INFO] PW: PluginControl not yet loaded, loading...
    2011-02-25 11:11:04 [INFO] Loading PluginControl Version 0.44
    2011-02-25 11:11:04 [INFO] Using builtin group system
    2011-02-25 11:11:04 [INFO] PluginControl started
    2011-02-25 11:11:04 [SEVERE] Could not load plugins/PrivateWarp.jar in plugins: null
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(
        at net.minecraft.server.MinecraftServer.e(
        at net.minecraft.server.MinecraftServer.a(
        at net.minecraft.server.MinecraftServer.d(
    Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
        at java.lang.reflect.Constructor.newInstance(
        ... 8 more
    Caused by: java.lang.NullPointerException
        at java.lang.String.<init>(
        at Source)
        at<init>(Unknown Source)
        ... 13 more
  10. Offline



    Yeah, that probably has something to do with the latest change.
    I recommend you revert to an older bukkit for now. I'll try to push out a new version this weekend. Bukkit doe snot have a initialize function though, I'm not sure if Bukkit ever will.
  11. Offline


    can't download the resolving issues to :(
  12. Offline


  13. Offline


    hmmm, I've seen your message about upgrading the server... no idea where/why it got lost...
  14. Offline


    Server should be back up again.
  15. Offline


    The converter returns a few errors:

    java -jar Converter.jar
    Found player PLAYER1
    Setting PLAYER1 home warp
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
            at Source)
            at Source)
            at Source)
            at waypoint.Converter.main(Unknown Source)   
  16. Offline


    Fixed, redownload. Had something to do with an internal API change.
  17. Offline


    Yea anxiously awaiting this getting fixed for latest Bukkit...a lot of mods require the latest version of Bukkit to work now so its a toss up between which mods are more important and its getting to be a bit tiresome...they really need to level out on their plugin code soon.

    This is what i get with Craftbukkit #474
    2011-02-27 18:48:10 [SEVERE] Could not load plugins/PrivateWarp.jar in plugins: null
    	at org.bukkit.plugin.SimplePluginManager.loadPlugin(
    	at org.bukkit.plugin.SimplePluginManager.loadPlugins(
    	at org.bukkit.craftbukkit.CraftServer.loadPlugins(
    	at net.minecraft.server.MinecraftServer.e(
    	at net.minecraft.server.MinecraftServer.a(
    	at net.minecraft.server.MinecraftServer.d(
    Caused by: java.lang.NoSuchMethodException:<init>()
    	at java.lang.Class.getConstructor0(
    	at java.lang.Class.getConstructor(
    	... 8 more
    2011-02-27 18:48:10 [SEVERE] Could not load plugins/PluginControl.jar in plugins: null
    	at org.bukkit.plugin.SimplePluginManager.loadPlugin(
    	at org.bukkit.plugin.SimplePluginManager.loadPlugins(
    	at org.bukkit.craftbukkit.CraftServer.loadPlugins(
    	at net.minecraft.server.MinecraftServer.e(
    	at net.minecraft.server.MinecraftServer.a(
    	at net.minecraft.server.MinecraftServer.d(
    Caused by: java.lang.NoSuchMethodException: wrecker.control.PluginControlPlugin.<init>()
    	at java.lang.Class.getConstructor0(
    	at java.lang.Class.getConstructor(
    	... 8 more
  18. Offline


    I will give this a shot later on with latest craftbukkit build I was on a small vacation for the weekend since the new 1.3 update I just ran a little temp vanilla server for everyone inc guests.

    I fear I will have some trouble this time around with a smooth updating sigh oh well trial and error time again then I guess, we shall see what I can make of the changes since Iv been away when I finally get home to my lab Workspace.
  19. Offline


    Hello guys,

    just a status update. I,ve done most of the code to make PrivateWarp compatible. I'm testing and bugfixing atm. Except Permisions has updated as well. Everything all at once...Permissions is the part that needs to be done before a new version.

    Maybe I'm releasing what I have this evening. Big chance Permissions don't work yet though.
  20. Offline


    There's a new Permissions here. Don't know if that will help or not.
  21. Offline


    Fixed up a new version.

    Let me know if it works.
  22. Offline


    Actually I changed from permissions over to Groupmangers plugin found here ....

    New Permissions plugin hated CB 483 and well lets just nothing took permissions like it should, but with Group Managers plugin its all working just fine. Except Privatewarps fails to load and gives me a [Severe] Null error with is it up to date yet.

    Even tho it loads fine on permissions plugin Maybe add support for that other plugin ?
    --- merged: Mar 1, 2011 12:51 PM ---
    I'm also regtfully thinking of dropping this plugin over Mywarps since Mywarps also has Private warps Its just move im thinking of to reduce bulk that is not really needed.
  23. Offline


    Thought I had my (brainstormed) idea posted about
    Public Warp Pools (PWP)

    It's a globally warp based plugin in which you can define pools of warps. Admin/member/guest can have their own pool(s). Plus with private warp you can 'publish' your warp into one or more pools of your choice (which you have access to).

    It's not done yet, just an idea.
    My posts keep disappearing. Sorry for that. Everytime I posting something new my previous one is gone.

    Anyway new version has lazy warpname matching on the goto command.
    More can be done with that, but it's functional. You now only need to type part of the name. And if the result of the match is unique, PW will use that warp. Useful for those descriptive warpnames.

    Also Coloring is back. Bug seems fixed in the Minecraft client. It didn't crash anymore.

    I would also like to let you guys(the minecraft admins) know that when an update is needed for this plugin to just post a reply if there is not one here already(I''ll get an email if someone replied). I'll do my best to pick it up asap.

    btw. Who else wants support for groupsmanager plugin? Right now I support Permissions 2.4
  24. Offline


    Well thats the thing Wrecker I like both the warp plugins but I don't really NEED both you know what I'm saying?, If and when you add your new idea try get a converter going for Mywarps to Privewarps so it can convert all existing Mywarp database warps to your format, Then I will most likely drop Mywarps.

    Oh and if your working on public warps get a nice list feature that works like Mywarp does its much much easier to read a list like that then only whats in a catagory.

    Yea you know I' down for support of Groupmanger I can't actually Run this plugin until you support it as it wont start properly with out Permissions.
    --- merged: Mar 2, 2011 3:16 AM ---
    So that means my users are sadly not getting there PW warps.
  25. Offline


    i'm having problems creating admins
    i open the plugins\PluginControl\Users file and type "psychobyte00=admingroup" but i still can't use any commands associated with the mod
    please reply
  26. Offline


    having issues.. CB458

    World name is live.. worked fine prior to this last update.
  27. Offline



    that's strange nothing much has changed. It does find a configuration so that's a good thing. Would be just the case of adding it to the config it finds. It might be possible it's a different config file by some edge case scenario. Did PrivateWarp load up before PluginControl? Does it give a warning a few lines up?

    If you have a default directory layout you can check if you have a config file called 'default' Or check the logging what it expects.

    You can also add the default_world property to every config file, it won't break anything.

    It's certainly something I have to check out (I will tonight, first thing when I'm home), and I'll do that together with the groupsmanager plugin. They both use the same code from there. But maybe the above can fix it. Otherwise I would like to see the complete startup log so I can help you. I think it's possible to get it started (with a little effort).
    --- merged: Mar 2, 2011 8:36 AM ---
    I had a change in the command list. It's no longer prefixed with a slash. try removing the '/' in the groups.txt
  28. Offline



    Take note of the CB version and the output from PW

    Also u seemed to ingnore my last post in response to the post about your latest creation for Public warps.

    oh and CHOP CHOP [​IMG]

    afterwards we can have [​IMG]
  29. Offline


    I didn't mean to ignore.
    Great you like my idea. Looks like I got some programming to do :). I'll start this evening.
  30. Offline


    May I suggest working In this fassion and order

    1. Quick fix to support Groupmanger and to get it loading again past CB 480+ as it wont load now with out Permissions and I dont use that plugin anymore

    2. Work on Public Warp system with page style Listing and catagory use as well for example

    Catagory page stye list and then user can do something like

    /pw warp {Catagory} {Warpname/Partialname} - To warp to public warp

    /pw warp list - To list all catagory
    /pw warp {name} - To view warps in the catagory.

    Might need add a way to Remeber what catagory you were on last as well when doing list agian.

    3. Create a MyWarp Conversion plugin so it reads its database and moves all the warps over to PW, of course setting them all as a Public warp and in a default Catagory list

    Let me know what u think about that.
  31. Offline


    @ledhead900 that list sounds good to me. I'll most likely keep to that list.

    I did a little thinking about each point:

    Point 1:
    It just came to me looking at your logging (PW is saying it uses the built-in since it can't find Permissions). Do you have any groups defined in groups.txt (the first being default)? If you add a group it probably will start already (except without the Permissions/groupmanager plugin, but you'll have acces to the warps again). It's just one of those logging things that should be more informative. I'll add a better description. AND ofcourse add support for groupsmanager.
    Maybe I'm able to fix this tonight and release it.

    Point 2:
    Will be a new plugin which also extends the PluginControl.
    That way I don't have to redo the hooks to groupsmanager/Permissions, and keep my code fairly clean and as small as possible (no duplication, just functional stuff).
    I'm thinking about naming it pools, but categories is probably the same (although I could introduce categories into a pool). Thinking about adding control to what pool is the default for each Permissions/groupmanager group. So an admin will have the pool admin as his default pool (for example).
    But I'll probably just get a working plugin and add to that for starters (I'll use /pwp or something, but not /pw, any suggestions?).

    Point 3
    Will add the conversion to my conversion tool I already have (with some commandline switches). This just takes an hour or less when point 2 is done.

Share This Page