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

    The_Wrecker

    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

    Converter:
    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.
    PrivateWarp:
    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).
    PluginControl:
    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:
    -PEX
    -Essentials
    -Vault (support for bPermissions and several others indirectly)
    -Built-in permission system (Groups.txt, built in PluginControl)

    Features:
    • 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:

    Locations:
    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:

    bukkit/plugins/PluginControl/
    • 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.pw
    • 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.


    Changelog:

    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

    Jonathan Bloom

    I was using WayPoint Plugin. How easy is it to convert these waypoints to PrivateWarp?
     
  3. Offline

    The_Wrecker

    The waypoint plugin does not have a bukkit port yet? Hmm I could look into it to convert it's data... Also, I might have to throw out an update again. I've seen that the contructor has changed. Just a small fix, but have to upload it.

    Quite possible to do the conversion whith the update. IF I can find out it's data structure.

    New version(1.2.4) is up to use with the latest bukkit builds (haven't tested it yet!).
    I did not yet do the conversion from the waypoint plugin yet. Minecraft client still has the color bug (so I'm still filtering what gets sent to the client).

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

    Jonathan Bloom

    Thanks for looking into the import! :)

    Does PrivateWarp allow for unlimited warps per player?
     
  5. Offline

    The_Wrecker

    As good as unlimited I guess. You still have to give it a limit right now in the configuration, but you can put the limit almost as high as you want. I didn't test it with over a hundred warps though(should be possible from my point of view). Would be nice if I got some feedback on that. I do know the database system can hold over a million entries at a time, but that was another program (and consumed quite some memory, although those entries were a lot bigger). It's the same thing for the categories btw.

    Your post got me thinking though. How many warps are we talking about? A 1000? I would like your results if your willing to test. Maybe I'll do some crazy tests myself later on.

    I also updated the plugin again (api changes). 1.2.5 is out. Against (if I'm correct) build bukkitmain #38 and craftbukkit#43
     
  6. Offline

    Jonathan Bloom

    I'm on a small server, but I want the ability to let my users have as many warps as possible. So they could one day go to 1,000.
     
  7. Offline

    Nipper

    Is this updated for builds 48+?
     
  8. Offline

    The_Wrecker

    I don't see a problem with a 1000 warps right now. I tested a 100 warps yesterday. The plugin should be stable enough to handle that number.

    That means that if you have 5 players on your server. You have a total of 5000 warps! Quite a lot of warping lol. But yes I think it should be able to do that.

    Another API plugin breaking thing? I don't see any that's relevant. Just try it out and let me know if it doesn't work out.
     
  9. Offline

    Jonathan Bloom

    Sweet! :) Sounds great with me!
     
  10. Offline

    The_Wrecker

    There might be one thing/issue and that's displaying the warp list in the chat. Could be quite a long list to scroll through. Maybe something I could work on.

    I just did a test with 5 players(all loaded up as if connected) which each have 1344 warps loaded(6720 total warps). I did devide them into about 28 categories because I didn't feel like typing them out by hand (I just copied each categorie). I had no slowdowns or other issues whatsoever.
     
  11. Offline

    Jonathan Bloom

    This works perfectly! :)

    Is the database an sqlite database? If so, I may be able to bring back my user's waypoints simply by editing the database.

    Nevermind: Just tried to edit the PrivateWarp files and it won't open in my text editor or my SQLite program.
     
  12. Offline

    The_Wrecker

    The database is not sqlite. It's more record based flatfile like with a high performance library. It does not have to search through the file when accessing the warps (hence the high performance). Also does not need to interpret SQL commands (totally skips that)

    I could write a tool to import the warps even from sqllite, but I haven't had the time to look at waypoint yet. Do you maybe have an example file for me for that?
     
  13. Offline

    Jonathan Bloom

    Sure, I'll PM it to you.
     
  14. Offline

    ledhead900

    I love you wrecker ! lol, Im setting up my bukkit server now you weclome to help via ftp. right now tho we are still live but with mcadmin and its a mess. LF to going to bukkit.
     
  15. Offline

    The_Wrecker

    Ok, I got a converter for the old hmod Waypoint plugin built that needs testing.

    Everything you need is in the zip:
    http://dump.wrecker.nl/bukkit/Converter.zip

    Steps:
    1. Extract to a directory
    2. Replace waypoints.txt with your own
    3. RUN the batch file (preferably from a console)

    I assume that Java is on the evironment path. If not you could look at how you start your bukkit server(run_server.bat)

    The files generated under extracteddir/privatewarp/players can be copied over to the bukkit/privatewarp/players plugin directory under bukkit and will be accessible for the players.

    Since it's a one time thing(probably). I'm not including the classes/runtime for the conversion in the plugin itself. I think it would add 'bloat' it.
     
  16. Offline

    The_Wrecker

    1.2.6 is out.

    Accommodated the event.iscancelled(). I tried it out with the groups plugin, but had no go (the hmod compatible one). My plugin kept initializing first. So it loaded before the groups plugin did. Maybe that's the reason why it does not work. More plugins seem to have issues with it. Maybe it's some setting or something I don't know.

    Builds used:
    Bukkit Main > BUKKIT-BUKKITMAIN-54
    CraftBukkit > BUKKIT-CRAFTBUKKIT-76
     
  17. Offline

    al4nw31

    Which does which?
    Like /pwa and /pwv???
     
  18. Offline

    The_Wrecker

  19. Offline

    nothigh

    Would it be possible to upload a version that just has the /pwa functionality removed? Allowing anyone to use the admin command defeats the purpose of this plugin :)
     
  20. Offline

    The_Wrecker

    Sure I can do that. I'll remove pwv as well I guess. Just temporarily.
     
  21. Offline

    The_Wrecker

    Just a small note from me. Sorry I'm a bit slow with updates at the moment. I was kinda busy. I'll try to throw out a new version tomorrow

    In the current version /pwv and /pwa are removed from the available commands(redownload).

    Keep the version you have if you want to keep those commands. They will be back. It's just temporary.
    --- merged: Jan 21, 2011 4:01 PM ---
    I'm thinking about making my own groups config system plugin. None of the other plugins seem to work for me and they are lacking some features I'd like to see.

    I know not another group plugin right?

    1 of those features is: different plugin settings for groups. So every group can/has his own settings for a plugin. In my case it would be for example the amount of warps. I think that would be a nice addition.

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

    nothigh

    Hey thanks for posting that version for me!
     
  23. Offline

    d3x

    Can you limit the number of warps a user can have?
     
  24. Offline

    The_Wrecker

    Yes you can. Just edit the configuration file under the privatewarp directory (created on start).

    The configuration does not yet support a per user limit. I'm thinking about implementing that with another plugin.

    a restriction plugin for commands and properties.
     
  25. Offline

    oliverw92

    Could you get this to work with the Permissions plugin?
     
  26. Offline

    The_Wrecker

    I could not get good results yet with those plugins. Granted I tried the hey0 compatible plugin the most. Maybe it was a bukkit build thing or I didn't quite understand the way they should be used.

    Anyway:
    I already started on my own permissions kind of plugin, but with a twist. It might even be useful after the implementation that bukkit is going to have. It's going to allow a finegrained setup of properties per plugin(like hey0, but a little better) and these properties can change depending on some conditions.... I hope to get some progress next week since I'll be working outdoors again.

    When the first version of this properties thing is out, I'll post/write up a how-to for other plugins as well. There's gonna be an API for this thing of some sort so other plugins can have the same functions in their plugins.
     
  27. Offline

    oliverw92

    Did you try talking to Nij about why you couldn't get it to work? It just seems a shame since nearly all the other plugins are going with one system.
     
  28. Offline

    The_Wrecker

    I didn't try talking to him. I considered bugging him a waste of resources(for now) since I tried it just once (it was just a small attempt with his plugin, mainly because of the request to go with the hmod one). I think I could get it to work when I put my mind more to it. I've put more time in getting the hey0 compatible version to work which failed(I built several versions of my plugin to test). The code for the hey0 compatible version should be ok, but I haven't tested with newer bukkit builds though.

    I have thought of a different approach to the 'permissions' , which includes another gimmick. That gimmick would be group seperated plugin settings.

    I'm not ruling out anything yet. Maybe I'll add support later for the plugin nij made if my idea does not work out. I'm just too tired to go coding right now (I'll probably screw up anyway).
     
  29. Offline

    d3x

    Could you move privatewarp folder to plugins/PrivateWarp?
     
  30. Offline

    ledhead900

    Hey Wrecker any chance you could support THIS! while we wait for a permissions system!
     

Share This Page