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

    errdivideby0

    Okay, so correct me if I'm wrong, I'm not quite sure I understand this myself, but, this does not use permissions, it uses another plugin called plugin control instead of permissions?
     
  3. Offline

    hyperch

    I got now this error with v322 (I think):

    Code:
    Feb 17, 2011 7:25:53 PM org.bukkit.craftbukkit.CraftServer loadPlugins
    SEVERE: null (Is it up to date?)
    java.lang.NullPointerException
            at wrecker.control.PropertiesFile.getStringValue(Unknown Source)
            at wrecker.tech.PrivateWarp.onEnable(Unknown Source)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:135)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:425)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:175)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:74)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:55)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:171)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:158)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:110)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    
     
  4. Offline

    QQCucumber

    Same thing with 329.

    Code:
    Feb 17, 2011 10:40:32 PM org.bukkit.craftbukkit.CraftServer loadPlugins
    SEVERE: null (Is it up to date?)
    java.lang.NullPointerException
            at wrecker.control.PropertiesFile.getStringValue(Unknown Source)
            at wrecker.tech.PrivateWarp.onEnable(Unknown Source)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:135)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:430)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:175)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:74)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:55)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:171)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:158)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:110)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
     
  5. Offline

    errdivideby0

    I'm using 323 and when I started the server for the first time with Private warp and plugin control it didn't generate a settings file/folder.
    --- merged: Feb 18, 2011 9:45 PM ---
    None of the commands seem to be working for PW
     
  6. Offline

    QQCucumber


    Yeah, the plugin is broken right now.
     
  7. Offline

    The_Wrecker

    It can use permissions ,but it does not need it.

    Actually it's PluginControl which can use Permissions. And since PrivateWarp needs PluginControl...
    --- merged: Feb 19, 2011 1:55 PM ---
    Ahum, I'll upgrade my development environment and I'll check what changed.
    --- merged: Feb 19, 2011 2:24 PM ---
    Hey, The error is not very descriptive. I had to look it up myself (actually no description at all) .

    A little further up you should have some servere's though:
    2011-02-19 15:09:46 [SEVERE] PW: Enter a default world in your default group config
    2011-02-19 15:09:46 [SEVERE] PW: For example: "default_world=world"


    The reason you are getting this is because you are missing a property in the PrivateWarp configuration file:
    "default_world"= enter something here

    The plugin has multiworld support and that setting prevents datacorruption of the privatewarp data files. It uses it to convert the files to a new format.
     
  8. Offline

    ledhead900

    Whats the big deal I can use this plugin fine with CB 345 and permissions work flawlessly. Hey Wrecker u should come on our server again and see out latest changes :)
    --- merged: Feb 19, 2011 2:56 PM ---
    That error is the SAME one i got before editing the config.

    to satisfy this "MultiWorld!!! (For conversion to new format add: "default_world=<world_name>" in config. The Plugin will ask you to do this.)"

    But I got that error way before CB 345

    SEVERE: null (Is it up to date?)

    Kinda gives it a way!
    --- merged: Feb 19, 2011 3:04 PM ---
    YOU MUST !
    Add default_world=world at bottom of the file called default!

    You will find the default file in "Yourserverdir/plugins/plugincontrol/PrivateWarp", There will be a list of other groups you have setup in your Permissions there as well.

    Just open your default groups file and add the default_world=world at the end save then close it.

    "note: if your default world is not called world then change name worldname after the = to what yours is called.

    Error should go away now, if not then you did it wrong or you have something that is conflicting with PrivateWarp Plugin.
     
  9. Offline

    hyperch

    What list is that?
     
  10. Offline

    The_Wrecker

    Thanks ledhead900,

    you are right the plugin isn't 'broken'. I guess they missed the few lines of logging in the console, I actually did make some improvements though (because of their feedback). In the next version the plugin will fail a little earlier with a stacktrace. Right now it fails when it gets enabled. In the error it'll also display your default group.

    @ the folks who are having trouble. Make sure you enter a world that exists. My plugin also checks if the world exists, if not it'll once again error out with a message.
     
  11. Offline

    hyperch

    what world? how does it find the world... I'm confused about that.
     
  12. Offline

    The_Wrecker

    That was the thing I referred to a few minutes ago... You have a folder in your server where your world files are right? Nowadays you can have more worlds and thus multiple world folders.

    Since I do not know which world is your default you have to enter this in the config of my plugin. It's just needed once for the conversion of your playerdatafiles. First I had a nice message box which asked you (and you could click your world), but since a lot of people don't have a gui on their servers...
    Try entering the name of your world folder. I recommend you backup the privatewarp files before running bukkit again. Just in case you didn't backup, (you did backup right?).
     
  13. Offline

    hyperch

    is a full path then required to it?

    I did enter just the worldname and then came the above error about worldList
     
  14. Offline

    ledhead900


    Just follow this and u will be fine

    http://forums.bukkit.org/threads/tp...g-or-multiple-homes-323.476/page-5#post-67309

    just change the world name to what your world folder is called.
    --- merged: Feb 19, 2011 4:01 PM ---
    @Wrecker

    I think the whole config change is confusing as its not stating its not in the PrivateWarp Config its in the Plugincontrol>PrivateWarp group Config.

    You might wish to explain it better or have your plugin add it by it self by checking permissions for default group and then adding it in. Your already working on Detecting the world so thats not an issue.

    Tbh your wording got me as well thats how I found the error it was only after careful reading I discovered it was talking about a default group config! ;).
    --- merged: Feb 19, 2011 4:06 PM ---


    There is an issue with it tho for me at least it try does the conversion every time I reload the server or restart it.

    It actually says converted 0 warps too so that was unsual maybe its due to at the time the default world was called world but now I call the default world RiftZero and world Is started by Multiverse Plugin.

    So this reminds me god forbid I forgot to change the world name my self since doing all of that. ARGGG :p
    --- merged: Feb 19, 2011 4:11 PM ---
    Actually how does that side of it work as its working fine even with out changing it, I thought it would worked by just checking if the world u create the warp on is default if not it adds world name data to it.

    I don't seem to be having an issues probably due to the fact I did rename the default world its still called world we just changed the world in server.properties to RiftZero so guests start there instead of our main world map.
     
  15. Offline

    hyperch

    That's what I did and then the above error came:

    011-02-19 15:19:07 [SEVERE] PW: Could not find wWORLDNAME in current known worldList
    2011-02-19 15:19:07 [SEVERE] PW: I'm not converting your files, check you config!!!!
    2011-02-19 15:19:07 [SEVERE] PW: If you continue running the server your privatewarp datafi
    les might get corrupt
     
  16. Offline

    ledhead900

    sorry about the poor english 3am melt downs!
    --- merged: Feb 19, 2011 4:17 PM ---
    Was your world called wWORLDNAME
    looks to me thats what its trying to find as the valid world!

    Can I see your config please & your actual world name.
     
  17. Offline

    hyperch

    I don't like to give out the real world name hence I edited it from that message.

     
  18. Offline

    ledhead900

    oh fair enough , what config is it the config from Plugincontrol\PrivateWarp

    There should be a group called Default in there.
    --- merged: Feb 19, 2011 4:30 PM ---
    Have you also checked that the world is being loaded on server start.
     
  19. Offline

    hyperch

    that's the content of the default file in the plugins/PluginControl/PrivateWarp folder
     
  20. Offline

    The_Wrecker

    @ledhead900
    You are right. It keeps running the conversion everytime and yes my explaining might not be that clear as it could be.

    The first run it'll detect old warp records and changes them (the count of how many warps it converts is > 0). It adds the default world name to the record.
    After the first run it'll probably stay 0 since it does not find records to update.

    It's not a bug that it runs on every startup. I coded it that way. At some point in a future version I'll be removing the conversion code anyway.

    @hyperch
    It should also print out a list of available worlds in the console. Could you see if your world is in that list? If it isn't, but it should be. Than it might not yet be known to bukkit.

    I know the default group I use in my plugin, but I can't add it automatically. That's because I don't know the default world. I could maybe add an empty string
    --- merged: Feb 19, 2011 5:48 PM ---
    @ledhead900
    I think I should release a tool which allows you to rename worlds in the private warp "player data files". In case you rename a world and you want all the other references in the warps renamed as well.

    I just thought of a different option. Which reuses the property... <- bad idea lol.
    Right now once a world name is set for a warp. You cannot change it.
    --- merged: Feb 19, 2011 6:43 PM ---
    I have another option.

    What do you think if I took the world name from the server.properties file? Would that work correctly? What do you think? I don't think it's guaranteed to be the previous default world where the warps were created.
    --- merged: Feb 19, 2011 8:07 PM ---
    Planned for the next version:
    • Added hook for TELEPORT (implemented in plugin, but not yet in bukkit)
    • Updated help
    • Some logging changes and Multiworld fixes
    I'm also planning to make a legenda of some sort. To name things. I think it might help to clarify what I mean.

    For example:
    "<item>" - "<referred to as>"
    "bukkit/plugins/PrivateWarp/players/<files>" - "PW Player Data Files"

    With that it would be less of a question where or what is meant (I think/hope). You should know that English is not my native language.
    --- merged: Feb 19, 2011 10:29 PM ---
    1.3.3 version it out.

    See changelog in the first post.
     
  21. Offline

    ledhead900

    @Wrecker

    hmm, I don't think takeing the default world from the server properties is a good idea, well it woudl work for the majority of people but others like me who created there warps on the defualt world named "world" and then when multiworld came out in bukkit I decided we would make a new starting world and make that default.

    leaving the old world exactly named how it was before "world" but letting a plugin handle that world.

    In my case we use Multiverse it takes care of loading non default worlds.

    So If im correct in this theory then your plugin converter wont change anything as I still have it set to default world =world and the warps are still there for that world nothing changed but the fact we now created a new world and named differently and made it defualt in server.properties.

    My question is What would happen to my old warps if I did change it so it detect that those warps are no longer on the default world. I just want to wait for a reply from you just in case they decide to think they want to warp me to the new world.

    I guess I can always just backup the files and find out eh rather waste your time with such a question :p

    oh and about the wording for how to get conversion to work Maybe a quick tut vid would suffice that is if you have time to upload one.

    I quick vid on how to do just add the converstion line would be fine. Other wise just make it clear the edit goes in the playerdata file and make sure its not just mentioned in the change log but also in the main guide part on how to install it.
    --- merged: Feb 20, 2011 5:05 AM ---
    Next version please fix your plugin to the new standard event as the current one is depricated as of CB 358

    [WARNING] Using the stupidly long constructor wrecker.tech.PrivateWarp(PluginLoader, Server, PluginDescriptionFile, File, File, ClassLoader) is no longer recommended. Go nag the plugin author of PrivateWarp to remove it! (Nothing is broken, we just like to keep code clean.)
    --- merged: Feb 20, 2011 5:08 AM ---
    oh and same with Plugin control pls
    --- merged: Feb 20, 2011 6:08 AM ---
    Your new versions did this using Same CB version as I did with v1.3.2 not using CB 354 It breaks a plugin we need so I need to wait for an update on that first before I can Ignore any of those little "WARNING!" msgs lol.

    anyway this is what it did

    PHP:
    2011-02-20 17:03:39 [INFOStarting minecraft server version Beta 1.2_01
    2011
    -02-20 17:03:39 [INFOLoading properties
    2011
    -02-20 17:03:39 [INFOStarting Minecraft server on 10.0.0.25:7767
    2011
    -02-20 17:03:39 [INFOThis server is running Craftbukkit version git-Bukkit
    -"6743361" (MC1.2_01)
    2011-02-20 17:03:39 [INFOPreparing level "RiftZero"
    2011-02-20 17:03:39 [INFOPreparing start region
    2011
    -02-20 17:03:40 [INFOPreparing spawn area20%
    2011-02-20 17:03:41 [INFOPreparing spawn area69%
    2011-02-20 17:03:41 [INFO] [Cleanerversion [1.6] (Nightloaded
    2011
    -02-20 17:03:42 [INFO] [iChatversion [1.5] (Maria Holicloaded
    LWC     
    [v1.53Loading shared objects
    Config  
    [v1.53Loaded 12 config entries
    LWC     
    [v1.53Native librarylib/native/Windows/amd64/sqlitejdbc.dll
    2011
    -02-20 17:03:44 [INFO] [Permissionsversion [2.0] (Handlerloaded
    2011
    -02-20 17:03:44 [INFOLoading PluginControl Version 0.42
    2011
    -02-20 17:03:44 [INFOUsing Nijikokun's Permission plugin
    2011-02-20 17:03:44 [INFO] Max Players: 12
    2011-02-20 17:03:44 [INFO] PluginControl started
    2011-02-20 17:03:44 [INFO] PW: Start loading of PrivateWarp
    20/02/2011 5:03:44 PM org.bukkit.plugin.SimplePluginManager loadPlugins
    SEVERE: Could not load plugins\PrivateWarp.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:79)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:117)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:82)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:53)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:171)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:158)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:110)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:77)
            ... 8 more
    Caused by: java.lang.NullPointerException
            at com.nijiko.permissions.Control.getGroup(Control.java:368)
            at wrecker.tech.h.getGroups(Unknown Source)
            at wrecker.tech.PrivateWarp.<init>(Unknown Source)
            ... 13 more
    2011-02-20 17:03:44 [INFO] WorldEdit 3.2.2 loaded.
    2011-02-20 17:03:44 [INFO] WorldEdit: Permissions plugin detected! Using Permiss
    ions plugin for permissions.
    2011-02-20 17:03:44 [INFO] WorldGuard 3.2.2 loaded.
    2011-02-20 17:03:44 [INFO] WorldGuard: Permissions plugin detected! Using Permis
    sions plugin for permissions.
    2011-02-20 17:03:44 [INFO] WorldGuard: Blacklist loaded.
    2011-02-20 17:03:44 [INFO] [AfkKick] AfkKick plugin build 2 is enabled
    2011-02-20 17:03:44 [INFO] [BackupPlugin] (com.mysticx.bukkit.backupplugin.Backu
    pPlugin) BackupPlugin version 0.8.5 is enabled!
    2011-02-20 17:03:44 [INFO] [BackupPlugin] (com.mysticx.bukkit.backupplugin.Backu
    pPlugin) Finished setting up a thread: class com.mysticx.bukkit.backupplugin.Bac
    kupUnit Next run in: 56 minutes.
    2011-02-20 17:03:44 [INFO] Loaded Essentials build Dev403 by Zenexer, ementalo,
    Eris, and Brettflan
    2011-02-20 17:03:44 [INFO] Loaded EssentialsBan build Dev403 by Zenexer, emental
    o, Eris, and EggRoll
    2011-02-20 17:03:44 [INFO] Loaded EssentialsHelp build Dev403 by Zenexer, ementa
    lo, Eris, and EggRoll
    2011-02-20 17:03:44 [INFO] Loaded EssentialsTele build Dev403 by Zenexer, ementa
    lo, Eris, and Brettflan
    LWC     [v1.53] Loaded command: /lwc -admin
    LWC     [v1.53] Loaded command: /lwc -create
    LWC     [v1.53] Loaded command: /lwc -free
    LWC     [v1.53] Loaded command: /lwc -info
    LWC     [v1.53] Loaded command: /lwc -p
    LWC     [v1.53] Loaded command: /lwc -modify
    LWC     [v1.53] Loaded command: /lwc -unlock
    LWC     [v1.53] Loaded command: /lwc -owners
    LWC     [v1.53] -> PLAYER_QUIT
    LWC     [v1.53] -> ENTITY_EXPLODE
    LWC     [v1.53] -> BLOCK_INTERACT
    LWC     [v1.53] -> BLOCK_DAMAGED
    LWC     [v1.53] -> BLOCK_PLACED
    LWC     [v1.53] -> REDSTONE_CHANGE
    LWC     [v1.53] Using Nijikokun'
    s permissions plugin for permissions
    LWC     
    [v1.53Loading SQLite
    PhysDB  
    [v1.53Creating physical tables if needed
    MemDB   
    [v1.53Creating memory tables
    SQLite  
    [v1.53UsingNative
    2011
    -02-20 17:04:05 [INFOMinecart Mania Admin Controls version 0.21 is enabled
    !
    2011-02-20 17:04:05 [INFOMinecart Mania Chest Control version 0.23 is enabled!

    2011-02-20 17:04:05 [INFOMinecart Mania Core version 0.93 is enabled!
    2011-02-20 17:04:05 [INFOMinecart Mania Sign Commands version 0.23 is enabled!

    2011-02-20 17:04:05 [INFOMinecart Mania Station version 0.31 is enabled!
    2011-02-20 17:04:05 [INFO] [MultiVerse] - Version 1.1 Enabled
    2011
    -02-20 17:04:05 [WARNING] [MultiVerserequires CraftBukkit build 320+. Proc
    eed with CAUTION
    !
    2011-02-20 17:04:05 [INFO] [MultiVerseLoading World Settings 'world' NOR
    MAL
    Preparing spawn area 
    for world32%
    Preparing spawn area for world69%
    Preparing spawn area for world93%
    2011-02-20 17:04:08 [INFO] [MultiVerseLoading World Settings 'RiftZero' -
    NORMAL
    2011
    -02-20 17:04:08 [INFO] [MultiVerseLoading World Settings 'TheAbyss' -
    NETHER
    Preparing spawn area 
    for TheAbyss52%
    2011-02-20 17:04:10 [INFO] [MultiVerseWorld(sloaded.
    2011-02-20 17:04:10 [INFO] [MultiVerseLoading Portals
    2011
    -02-20 17:04:10 [INFO] [MultiVersePortal(sloaded.
    2011-02-20 17:04:10 [INFO] [MYWARP]: 31 warps loaded
    2011
    -02-20 17:04:10 [INFO] [MYWARPPermissions enabled.
    2011-02-20 17:04:10 [INFOMyWarp 1.9 enabled
    2011
    -02-20 17:04:10 [INFOWorldEditPermissions plugin detectedUsing Permiss
    ions plugin 
    for permissions.
    2011-02-20 17:04:10 [INFOWorldGuardPermissions plugin detectedUsing Permis
    sions plugin 
    for permissions.
    2011-02-20 17:04:10 [INFO] [SignProtect] [0.5enabled
    2011
    -02-20 17:04:11 [INFO] [SpawnMobVersion 1.5.1 enabled.
    2011-02-20 17:04:11 [INFO] [SpawnMobPermission system enabled.
    WhitelistTrying to load whitelist and settings...done.
    Whitelist version 2.1 is enabled!
    2011-02-20 17:04:11 [INFODone! For helptype "help" or "?"
    I only changed the Default world in your plugin to Riftzero to match the NEW default worlds name that u can see starting first.

    But as you can also see the old world called world has not changed in name at all so I have not tested what changes it makes to the warps if any. Reverting until I hear back about this issue!
     
    The_Wrecker likes this.
  22. Offline

    The_Wrecker

    @ledhead900

    What the converter does is this:

    - Checks if property in config exists.
    - Checks if the world that is filled in exists
    - Finds old warp records in 'PW Player Data Files' (the ones without any world info)
    - When found add the default world to it
    - When the record already contains a world -> do nothing to it.
    In short:
    It finds warp records of the old format and adds the 'default world' to it.

    So when you change the default world in the configuration AND all the 'PW Player Data Files' are already converted nothing will happen.

    I hope this answers your question.

    QUOTE:
    "My question is What would happen to my old warps if I did change it so it detect that those warps are no longer on the default world. I just want to wait for a reply from you just in case they decide to think they want to warp me to the new world."
    So you change the default world property, but all the warps are already converted? The converter won't change anything. It only adds the default world to records which do not have world information. Which also means you cannot rename a world right now. When you rename a world the records stay the same (making those records useless, unless you rename the world back).

    I'm thinking about a renaming tool which will let you rename and delete worlds from the 'PW Player Data Files'. I think that'll come in handy. I'm thinking about the functional design of the tool.
    --- merged: Feb 20, 2011 4:48 PM ---
    [WARNING] Using the stupidly long constructor wrecker.tech.PrivateWarp(PluginLoader, Server, PluginDescriptionFile, File, File, ClassLoader) is no longer recommended. Go nag the plugin author of PrivateWarp to remove it! (Nothing is broken, we just like to keep code clean.)

    LOL,
    So you guys are instructed to NAG the author ey ;)

    At least they called their own contructor 'stupidly long'. :p

    And I'll see what I can do about a instructional vid. Sounds cool enough to have a video about it.

    Oh, and btw. I don't know why Private Warp gave an error in your last post (with the console logging). I can say for sure that PrivateWarp did not load and that it will not do any conversions. Most likely failed on the property of default_world...
    --- merged: Feb 20, 2011 5:05 PM ---
    Just one more thing,

    Bukkit did not have a change in their API between v 1.3.2 and 1.3.3 that directly affects PrivateWarp. You could try using it on a (little) older bukkit version.
    --- merged: Feb 20, 2011 5:14 PM ---
    Another one more thing (this list is getting long),

    I've built and ran against newest Bukkit and I got a lot of warnings. So I'll have some code changes for the next version... Looks like it started ok though.

    With the next version I'm also doing some performance changes. Even less disk IO than it already does.
     
  23. Offline

    ledhead900

    Actually I tested it with the same CB version I used 1.3.2 on and 1.3.2 started just fine. I have not updated CB beyond what I used for 1.3.2 yet based on the fact it broke some plugins that I now must wiat for them to be fixed before going past 350 cb.

    Im ot CB 14x something lol since they changed how it shows version in console to showing a github ID I have no idea what it is now .

    but yea 1.3.3 failed to load twice same CB that I use for the working 1.3.2, 1.3.3 loaded 1x out of like 4 attempts
    I changed nothing in any configs Just backed up old data and moved new jar in.

    I get what ur world detection does now yea nothing would change the warps were made on world a long time ago before multiworld exisited.

    I only made Riftzero server default have not mucked around with names on any other existing world.

    So there was nothing to change as the warps would have had pre existing world data on them.
    --- merged: Feb 20, 2011 6:07 PM ---
    This is what shows up for version for me dont ask me why its not showing a plan CBbuild number anymore.

    This server is running Craftbukkit version git-Bukkit-"6743361" (MC: 1.2_01)
    --- merged: Feb 21, 2011 11:31 AM ---
    Tesint 1.3.4 with newer CB build tonight!
     
  24. Offline

    tekac

    tested 1.3.4 on #403 .. doesn't load.
     
  25. Offline

    The_Wrecker

    What does it say? Any logging about why? Right now 1.3.4 is kinda hacky with some stuff due to Bukkit changes unfortunatly (mentioned in the changelog).
     
  26. Offline

    tekac

    Looks like the config files aren't generating. :\ This prevents the plugin from loading.
    Code:
    2011-02-21 11:27:59 [SEVERE] Could not load plugins\PrivateWarp.jar in plugins:
    null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:85)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:129)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:94)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:53)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:179)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:166)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:118)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:217)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:77)
            ... 8 more
    Caused by: org.bukkit.plugin.InvalidDescriptionException: Missing default world
    in config file PrivateWarp default_world
            at wrecker.tech.PrivateWarp.<init>(Unknown Source)
            ... 13 more
    --- merged: Feb 21, 2011 4:29 PM ---
    The default file inside privatewarp folder is blank

    EDIT: I'M A RETARD! Guess I didn't read back enough
     
  27. Offline

    The_Wrecker

    Lol ease up on yourself. Glad you found the problem...

    I really should post it in the start post. *editing now*

    Edit:
    Been added to the first post.
     
  28. Offline

    Daman

    This plugin sounds amazing, but I seem to be completely unable to configure it correctly. Can I use permissions? Giving default players the nodes listed in the first post denies them access. I'm an op and it is even denying me access now. Not too sure what to do.
     
  29. Offline

    The_Wrecker

    Just download the 2 jar files (PluginControl and PrivateWarp)
    Start it up the first time to let it create some directories. (It will log an error)

    You should now have a directory under the PluginControl configuration directory.
    "bukkit\plugins\PluginControl\PrivateWarp"

    Under that directory you should see a file called default. Set the default_world property in that file. Restart and it should load up.

    Ofcourse you still need to set PrivateWarp.pw and so on in permissions.
     
  30. Offline

    Daman

    I've done that and it is running as it should, but the issue is permissions. I've set PrivateWarp.pw and etcetera in permissions, just as I would any other, how would you recommend I configure it?

    This is an example of what I've got:

    Code:
    groups:
        Default:
            default: true
            info:
                prefix: 
                suffix:
                build: true
            inheritance: 
            permissions:
                - 'PrivateWarp.pw'
                - 'PrivateWarp.pwa'
    yet it says access denied, even to OPs in the Admins group.
     
  31. Offline

    The_Wrecker

    Try PrivateWarp.*
    Are you sure your yml file is ok? No tabs and stuff?
     

Share This Page