[INACTIVE][TP][MECH]Waypoints v0.3.1 - Multiple respawn points after death [670]

Discussion in 'Inactive/Unsupported Plugins' started by Endain, Mar 25, 2011.

  1. Offline

    Endain

    [​IMG]
    (Download)
    <font color="rgb(0, 204, 255)"><Edit by Moderator: Redacted mediafire url>
    <font color="rgb(0, 0, 0)">(Source)</font>
    <font color="rgb(0, 204, 255)">Github</font>
    <font color="rgb(0, 204, 255)"><font color="rgb(192, 192, 192)">Not current at the moment</font></font>

    <font color="rgb(255, 0, 0)">Update to version 0.3.1 is required!</font>
    <font color="rgb(51, 51, 51)">Update from version 0.2.x -> 0.3.0 is required!</font>
    <font color="rgb(128, 128, 128)">Update from version 0.2.6 -> 0.2.7 is recommended!*</font>
    <font color="rgb(153, 153, 153)">Update from version 0.2.5 -> 0.2.6 is required!</font>

    <font color="rgb(0, 0, 0)">There are no special update procedures when updating to v0.3.1. </font><font color="rgb(255, 0, 0)">Back-up your save data to be on the safe side!</font>

    Show Spoiler
    <font color="rgb(153, 153, 153)">There are no special update procedures when updating to v0.3.0, the plugin will automatically convert your save data to the new format and add the config options!</font> <font color="rgb(255, 0, 0)">Back-up your save data to be on the safe side!</font>

    <font color="rgb(153, 153, 153)">*If updating to v0.2.7 you MUST add the property 'allow-unbind' to config.txt! You can also just delete the config.txt and reconfigure it when the plugin generates a new one! Waypoint save data will not be effected.</font>


    The Waypoints plugin is designed to change the default respawn mechanic of Minecraft. Instead of respawning at a single defined world spawn there can be multiple 'Waypoints' at which players can respawn. If players have not been bound to a Waypoint, they will still respawn at the normal server spawn.

    Features at a glance:
    * Multiple respawn points
    * Multiworld support
    * Easily and dynamically configurable
    * Drag & Drop functionality (Flatfile data saving)
    * GroupManager Support (Not required)

    Future outlook:
    * Add ability to set config options via command in-game
    * Ability to spawn points with specified save/protect radius
    * Ability to change save/protect radius of current points
    * <font color="rgb(153, 153, 153)">Option for health regen to players in protected zones</font> (Added!)
    * Command to teleport (all) players back to their Waypoint
    * POSSIBLY: Charge fee to bind to Waypoint. (iConomy?)
    * POSSIBLY: Make points capturable (KOTH style?)

    Developer: Endain
    Idea: xian (<font color="rgb(0, 102, 204)">Request thread</font>) - Thanks!
    Tester: Hansel2411 - Thanks!

    How it works:
    Server admins have the ability to spawn 'Waypoints' at (almost) any point in any world in their server. Players can then 'bind' themselves to these Waypoints and respawn at these points when they die, instead of the global spawn points.

    Every Waypoint is denoted in the world by a column of bedrock surrounded by a ring of glowstone to make it easily visible and distinguishable. Every Waypoint has two 'zones' centered around it, a 'save-zone' and a 'protection-zone'. The sizes of these zones are defined in a config file that the plugin auto-generates and are shaped as cubes, not spheres. A player must be inside a a 'save-zone' to bind themselves to the Waypoint; the plugin may be configured to automatically bind players to the Waypoint when they enter it's 'save-zone'. The 'protection-zone' defines the area around the Waypoint in which no blocks can be damaged; the plugin can be configured to allow or prevent players from damaging each other within the 'protection-zone'.

    How to install:
    (First time installer) Unzip the file downloaded from MediaFire. Briefly look over the included README file. Copy the 'Waypoints.jar' file and the 'Waypoints' folder into the plugin folder in your main Bukkit directory. Look over 'config.txt' in the 'Waypoints' folder and configure the plugin as you wish!
    (Updating old install) Same as a first time install! With the code refactoring the plugin will now automatically convert old save files and add new config options!

    Commands:
    /wpbind (Usable by any player)
    - Binds the player who typed the command to the Waypoint they are near. (They must be
    within the Waypoint's save-zone) If the plugin is configured to autosave when the player
    enters a save-zone then this command is not used.

    /wpunbind or /wpfree (Usable by any player - if enabled)
    - Unbinds the calling player from any Waypoint they are bound to. You do not NEED to
    use this command before binding to a different Waypoint. This is more to allow you to cut
    ties with all Waypoints so if you die you go to the world spawn. Can be disabled in config.txt.

    /wpadd (Usable by OP's – permission: waypoints.addpoint)
    - Creates a new Waypoint where the calling player stands. Must be added in a relatively open
    area and it's zones cannot intersect any other zones.

    /wpdel (Usable by OP's – permission: waypoints.delpoint)
    - Removes the Waypoint associated with the 'save-zone' or 'protection-zone' that the calling
    player is standing inside of.

    /wpsave (Usable by OP's/Server Console – permission: waypoints.savepoint)
    - Forces all relevant data to be written to the disk.

    <font color="rgb(51, 51, 51)">/wpclean (Usable by OP's – permission: waypoints.cleanpoint)</font>
    <font color="rgb(255, 0, 0)">- Known to be bugged in v0.3.1, I won't have time to fix it for a while</font>
    - Removes any berock in a radius of length 'save-radius' around the caller that does not belong to a working Waypoint.

    Please read the README packaged with the plugin if you need more detail.


    Known Issues:
    Version 0.3.1
    * /wpclean command removes bedrock from valid Waypoints

    Changelog:
    Version 0.3.1
    * Removed (hopefully) all the left over debugging code causing 0.3.0 to fail.
    * Added config option for HP regen in protected zones. (hp-regen=1)
    * Random minor code fixes.
    * Should work with CB 670.

    Version 0.3.0
    * Completed (mostly) a massive code refactoring! Almost everything was re-written.
    * Added config option for true multiworld support. (seperate-worlds=true)
    * Added config option to limit Waypoint use to OPs or players with permission. (limit-use=true)
    * Changes to config.txt during runtime are now detected and changed in-game.
    * New data save format for points, old save files automatically converted.
    * Now verified as working with Minecraft 1.4 and CB 617.
    * Lots of other things I can't remeber and aren't worth noting anyways.


    Show Spoiler
    Version 0.2.7
    * Added command to 'unbind' player from a Waypoint (see /wpunbind for details)
    * Changed how the plugin reacts when confix.txt is loaded with errors.
    * Download now packaged with default files the plugin would generate on first run.
    * Possibly fixed a bug using /wpbind? Not sure if it was there before or not.. OK now.

    Version 0.2.6
    * Fixed player data saving that only saved 1 player instead of all.
    * Various code tweaks, no functional changes.
    * Added protection against creeper explosions in 'protected regions'.

    Version 0.2.5
    * Initial public release.


    Version Archive Downloads:
    <Edit by Moderator: Redacted mediafire url>
    <Edit by Moderator: Redacted mediafire url>
    <font color="rgb(153, 153, 153)">Version 0.2.8 - 0.2.9 (Unrealeased, builds from between code refactoring)</font>
    <Edit by Moderator: Redacted mediafire url>
    <Edit by Moderator: Redacted mediafire url>
    <Edit by Moderator: Redacted mediafire url>

    - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Feedback and comments are appreciated! First public plugin, hope it works out well! Enjoy!

    If you REALLY like the plugin for some reason, feel free to buy me a burger, we have Whopper Wednesday's here on campus!
    [​IMG]

    - Endain
     
    Last edited by a moderator: Dec 14, 2016
  2. Offline

    riuthamus

    Currency charge for resurrection, the wages earned from this would go to the owner of the graveyard, or... you could also assign a bank to the resurrection pole. This way any charges would go to the bank. Thanks for hearing me out.

    Also, this is the error im getting with 670

    Code:
    01:08:47 [SEVERE] Could not pass event PLUGIN_ENABLE to Waypoints
    java.lang.NoClassDefFoundError: org/anjocaido/groupmanager/GroupManager
            at com.Endain.Waypoints.Managers.PermissionManager.enable(PermissionMana
    ger.java:61)
            at com.Endain.Waypoints.WaypointsServerListener.onPluginEnable(Waypoints
    ServerListener.java:16)
            at org.bukkit.plugin.java.JavaPluginLoader$33.execute(JavaPluginLoader.j
    ava:400)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:255)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:579)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:216)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:115)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:93)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    01:08:47 [INFO] [General] version [2.2.4] (Chernobyl) loaded
    01:08:47 [INFO] [General] hooked into Permissions.
    01:08:47 [INFO] General is giving tell to HeroChat
    01:08:47 [INFO] General is giving tp to TelePlusPlus
    01:08:47 [SEVERE] Could not pass event PLUGIN_ENABLE to Waypoints
    java.lang.NoClassDefFoundError: org/anjocaido/groupmanager/GroupManager
            at com.Endain.Waypoints.Managers.PermissionManager.enable(PermissionMana
    ger.java:61)
            at com.Endain.Waypoints.WaypointsServerListener.onPluginEnable(Waypoints
    ServerListener.java:16)
            at org.bukkit.plugin.java.JavaPluginLoader$33.execute(JavaPluginLoader.j
    ava:400)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:255)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:579)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:216)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:115)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:93)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    01:08:47 [INFO] Done (0.298s)! For help, type "help" or "?"
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  3. Offline

    Hant

    On cb617 - in the config is groupmanager = false

    :

    2011-04-08 10:23:29 [SEVERE] Could not pass event PLUGIN_ENABLE to Waypoints
    java.lang.NoClassDefFoundError: org/anjocaido/groupmanager/GroupManager
    at com.Endain.Waypoints.Managers.PermissionManager.enable(PermissionManager.java:61)
    at com.Endain.Waypoints.WaypointsServerListener.onPluginEnable(WaypointsServerListener.java:16)
    at org.bukkit.plugin.java.JavaPluginLoader$31.execute(JavaPluginLoader.java:353)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:515)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:94)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:72)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
     
  4. Offline

    Endain

    Arg.. I thought I got all the issues with GroupManager.. Guess not..

    I'm also assuming neither of you use GroupManager? Just good to have more info. XD

    - Endain
     
  5. Offline

    riuthamus

    Permissions 2.5.5, group manager is gay! :p in my own opinion.
     
  6. Offline

    Endain

    I updated the download link in the OP, still version v0.3.1, but I should have hopefully fixed the plugin enable/disable errors. Let me know!

    I'm sorry you feel that way. XD ... Honestly I don't use either on my server, but they both seem fine lol. I added GroupManager since the person who requested this plugin used it. I'll look into a way to support Permissions as well.

    Same with some sort of boseconomy/iConomy interaction. Charge per use may not be too hard to implement.. Redirecting fees to a specific person or bank may go along finding a way to allow players to "capture" points. I know that a capturing mechanic will require me to finish my rewrite, so that may be a ways off..

    - Endain
     
  7. Offline

    EniGmA1987

    Teo, permissions here as well. Never used Group Manager. I think most people use Permissions.
    Thanks for all your hard work Endain!



    If iConomy support was added, and a player didnt have enough coins to resurrect at a shrine then what would happen? Just go to default world spawn?








    Also, your donate button is broken. Might want to get that fixed so you can have some money flowing in :)
     
  8. Offline

    riuthamus

    permissions is pretty simple to work with, group manager was based off of it anyway... thanks for your hard work.
     
  9. Offline

    Hansel2411

    Yeah, well, Group manager has ingame commands to edit permission groups and works perfectly fine. Permissions hasn't. So is it really Group manager being gay or is it just your inability of setting it up correctly? :p No offense, I don't want to start a gm vs. p discussion here.

    However, Group manager is so not gay, it even has a fake permissions plugin. That means that any plugin using permission nodes for Permission 2.5.5 automatically works with GM, too. So in theory, you don't need to code Waypoints for GM, Permissions and none. Just Permissions and none is enough. ;)

    Thanks a lot for updating, Endain. We'll test it later today and let you know if everything works. :)
     
  10. Offline

    riuthamus

    You do want to start a war, i know how to set both of them up and have used both, Group manager is a hack way of doing permissions, because it was simply designed as a tool for, MANAGING groups. It was later converted to a permissions system once the original permissions creator showed disinterest in his project.

    I would further argue that Permissions is far more complex to setup than group manager and has more control. Does it lack the most basic of functions, in game editing, sure! But there are other plugins that add that feature to the plugin.

    Utilmatly you use whatever system you want, hacked ass or not, and Ill use what I want. Doesnt mean I am less capable or less knowledgeable or that you are. It means that I prefer the system in which I prefer. I use BOSEcon which we created. Why would we create it when iConomy already exists? Because we think that system of doing things is stupid, so we created one that works for us and works as we think it should. You may or may not like what we created but that doesnt make it any less functional for what we are using it for.

    Anyway, when you get it working with permissions ill be sure to test it out!
     
  11. Offline

    Hansel2411

    ... and how'd you feel if others called your creation "gay"? Just watch your words, please. People spent their spare time on working on bukkit, plugins and giving you the instruments to play minecraft the way you want to, so how about treating each other with a tiny bit of respect? That's all I'm asking for. ;)

    And yeah, as I said earlier already, Group Manager has a fake permissions plugin. Which means that if Waypoints has permissions support, it will also work with GM.
     
  12. Offline

    riuthamus

    You can call my plugin gay all you want, i dont take it personal since, this is the internet. If you dont like it you dont like it. Simple as that

    Lets not turn this into a flame war, lets stay on focus
     
  13. Offline

    xian

    the internet is gay! in your face. ._.
     
  14. Offline

    Hansel2411

    v0.3.1 works perfectly fine on CB617. The new HP Regen feature is great! :) Thanks a lot, Endain.
     
  15. Offline

    Endain

    I know that was a typo, I know what you meant... But not gonna lie, I laughed a lot harder than I probably should have when I read that. That made my morning. XD (In all seriousness though, thanks for being so patient with me ^^)

    That's what I'm thinking. I don't really see any alternatives, it's not exactly fair to block users from respawning completely!

    Yes, please. ^^

    lol

    Glad you like it! I'm also glad it finally works again, I've felt terrible knowing that there's people waiting on me to fix it and I just couldn't get it fixed.

    - Endain
     
  16. Offline

    riuthamus

    Do you think you will have time to do permissions support this weekend? I just want to know so i can look back at this, or wait till next week, thanks again!
     
  17. Offline

    xian

    yes, everything works perfect :> thanks again! and remember you're still on the whitelist ;)
     
  18. Offline

    Endain

    Just glancing at it between classes here, looks easy enough to move over. Since it sounds like GroupManager will still work if I have it only set up for permissions I'll probably do that. So yeah, should be done this weekend, or later today if I have time.

    - Endain
     
  19. Offline

    riuthamus

    Epic mate, thanks!
     
  20. Offline

    thyrfa

    Woot it works ^^. Can you keep it up with Groupmanager though and Permissions if you must. I just want groupmanager :p
     
  21. Offline

    riuthamus

    As somebody else already mentioned, if you have permissions support groupmanager should work with it anyway because of its "fake" system.
     
  22. Offline

    Graindcafe

    Hello,

    I'm get spammed with
    Code:
    23:03:03 [INFO] [WAYPOINTS(v0.3.1)] Loaded config:
    23:03:03 [INFO] [WAYPOINTS(v0.3.1)]   protect-players = true
    23:03:03 [INFO] [WAYPOINTS(v0.3.1)]   hp-regen = 1
    23:03:03 [INFO] [WAYPOINTS(v0.3.1)]   allow-unbind = true
    23:03:03 [INFO] [WAYPOINTS(v0.3.1)]   seperate-worlds = true
    23:03:03 [INFO] [WAYPOINTS(v0.3.1)]   limit-use = false
    23:03:03 [INFO] [WAYPOINTS(v0.3.1)]   force-autosave = true
    23:03:03 [INFO] [WAYPOINTS(v0.3.1)]   delete-missing-points = true
    23:03:03 [INFO] [WAYPOINTS(v0.3.1)]   use-group-manager = false
    23:03:03 [INFO] [WAYPOINTS(v0.3.1)]   protect-radius = 8
    23:03:03 [INFO] [WAYPOINTS(v0.3.1)]   save-radius = 12
    23:03:03 [INFO] [WAYPOINTS(v0.3.1)]   data-save-interval = 15
    
    I'm doing something wrong ?
    I'm under linux (ubuntu), craftbukkit 670, and as you can see waypoints 0.3.1
     
  23. Offline

    Endain

    Hmm.. The plugin checks every ~15 seconds approx to see if the last modified date of config.txt changed, and if so it reloads and updates all the config settings ... it shouldn't be spamming you though. It may have something to do with linux and how i'm checking it, I'll look into it.

    Anyone else running linux not have this problem?

    - Endain
     
  24. Offline

    Graindcafe

    Is there a way to disable this check ? If I wanna change the config file, I would shutdown the server.
     
  25. Offline

    xian

    omg, endain. i dunno why, but sometimes there is a bug on the waypoints chunk. so people respawn on where a waypoint should be, but the chunk is missing. is especially the chunk where waypoints are. (no other chunks are missing).

    it doesnt look like there is any bug noticed in the log :(

    this didnt just happen at one of the waypoints but 3..
     

    Attached Files:

  26. This is great! I see you have updated it for 670 and fixed some schtuffs. :)
    The new heal zone is something I really like.
    I'll try this out asap tomorrow! Thank you very much for making such a awesome plugin.
     
  27. Offline

    xian

    lol... now one of our players stays with his live-regeneration from the wp. whereever he is, he'll get his hp back to full :<

    deleted waypoints now, everything fine now :< so its definitly WP :/

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

    Ryole

    Same problem here :3
     
  29. Offline

    xian

    it is NOT caused by waypoints.. sorry. i deinstalled it, it worked for a while but these fucking buggy chunk-errors are back.
     
  30. Offline

    Ryole

    Which CB are you using?
     
  31. Offline

    xian

    the current. 670 :<
     

Share This Page