[MECH] BoundaryKill. 1.3 - Soft borders killing you softly [938]

Discussion in 'Inactive/Unsupported Plugins' started by croxis, Feb 13, 2011.

  1. Offline

    croxis

    Borderkill: Version: v1.3
    This world border creates a circular "soft" border. When a player walks across the border they will start to lose health until they cross back. There is also multiworld support. The mechanic was inspired by the game Allegiance.

    There is no ingame configuration. Everything must be done by editing the configuration file which is generated on first run and is updated to the latest version when required:

    plugins/BoundaryKill/config.yaml
    Code:
    version: 1
    ticks: 10
    outMessage: You have exited the boundary. Prepare to DIE!
    inMessage: You have returned to safer lands.
    worlds:
        world1name:
            radius: 300
            z: 0
            x: 0
            exceptions:
                - croxis
        world2name:
             radius: 250
             z: 50
             x: -40
            exceptions:
                -
    health: 1
    
    ticks is the number of in game ticks before health is removed for players outside the border
    health is the amount of health removed per hit
    out and in messages are the messages sent to the player when the cross the border
    worlds is the name of the world, the x and z coordinates of the center of the border, and the radius of the border.
    exception is a list of players that you want exempted from the border.

    BoundaryKill.jar
    Source

    Features:
    • Circular borders
    • Damages players who crosses border
    • Multiworld support
    • Exceptions for admins
    • Players in vehicles
    • Prevents players from teleporting outside the border
    Changelog:
    Version 1.3
    • Fixed damage code. Should now drop chests for Tombstone.
    Version 1.2
    • Fixed teleporting to operate in a more sane manner
    • Updated to craftbukkit 617
    • Added support for vehicles
    • Added a per world exception list

    Version 1.1
    • Updated for bukkit 405+
    • Fixed a couple of nasty bugs
    Version 1.0
    • First release
     
    ksevelyar likes this.
  2. Offline

    croxis

    First, x must be an integer (not sure if this is an issue or not). Second, the desired result of this setup is that as soon as someone crosses the boarder, they will be taking half a health of damage every 200 ticks (about every 10 seconds I think). Can you be more descriptive in what is actually happening with this setting?
     
  3. Offline

    haita

    Set x to an integer and the problem persists. Basically, after I cross the border I seem to be taking damage about twice every second.

    A 50 KB video of this:
    <Edit by Moderator: Redacted mediafire url>

    EDIT: Don' work at all with 703!

    EDIT 2: Works again for 716, but the timer still isn't doing anything.
     
    Last edited by a moderator: Dec 15, 2016
  4. Offline

    Zarius

    Seems to work ok with 733 except for one thing. The death triggered doesn't actually drop any items. I'm also running "Tombstone" which drops a chest full of your items on death but this is not triggered either - is this normal? I know you'll start dying when you go back to get your stuff, but if you carry enough pork you'll be fine :D
     
  5. Offline

    fatmarley

    can you update to 740 please sir.
     
  6. Offline

    croxis

    It is working fine for me
     
  7. Offline

    Zarius

    Working fine for me in 766.

    I regards to the issues with the Tombstone plugin (and perhaps other death triggered plugins) - replacing
    Code:
    plugin.outofBounds.get(i).setHealth(plugin.outofBounds.get(i).getHealth() - 1);
    with
    Code:
    plugin.outofBounds.get(i).damage(plugin.health);
    in BKKiller.java fixes it. I've tested this on my server and it works well. I'm upping the ticks a bit to help allow players to get their gear back - if they still wandered too far then an admin in the exception list can get it back.

    I did notice that this still kills you with "godmode" on though (I think my godmode is provided by essentials) - not sure that there is any way around this.

    @croxis

    Nevermind my last post, seems bukkit is fixing this soon.

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

    Ranzear

    Can this be altered to respect permission groups so I can kill members of a certain group that leave an area?

    Good mingebag protection, and I have an application in my hardcore survival server.
     
    Nazerb likes this.
  9. Offline

    croxis

    @Zarius, thanks for the patch anyways! I'll add it and post a new version Soon(tm). Also is changing the tick value working? Someone posted it did not for them (although I couldn't figure out why).

    @Ranzear I am only going to support the official Bukkit permission system.
     
  10. Offline

    Zarius

    Just another idea - would be nice to see the boundary after you cross it (as it can be a bit disorientating and hard to find to way back to safe ground sometimes). Perhaps as the player crosses the border change 5 blocks in a row (to indicate the direction of the border) at the players feet to glowstone (checking for chests/signs/wool/etc and ignoring so we don't lose the data or chest contents)? This could be set on a timer so that 10 seconds later they change back to the original blocks.
     
  11. Offline

    Nazerb

    Can you have two borders? Just Read above post! Removed The rest. Could you just make a temporarily ix so it works with permission?
     
  12. Offline

    Zarius

    Two borders? You mean for the one world or for different worlds (different worlds are already supported in the config file).

    Note croxis mentioned two posts up he is only going to support the official permission system.
     
  13. Offline

    croxis

    Updated to 1.3, should now hopefully drop chests for us Tombstone peeps. I'm going to start looking into multiple borders per world, but it isn't a high priority for me as I dont use it :)
     
  14. Offline

    Nazerb

    For one world so i can have like 4 citys on one world, and only certain people can walk to the diffrent ones. OR that i can have like an inner ring that everyone is in then an outer ring for trusted people so they are not likely to be greifed.
     
  15. Offline

    Zarius

    I didn't think I'd use multiple boundaries for one world, but now I thinking they could be very useful.

    As the current boundary area gets more populated and mineral depleted I could setup another boundary in an interesting area somewhere, rather than expanding the current boundary (which would add a lot of unused areas).

    Eg. I find a lot of my players are pushing north of spawn as the south area isn't as interesting landscape-wise. Expanding the border just to allow more of the northern areas would also allow a huge amount of unused area to be exposed, whereas setting another (initially smaller) boundary much further north would expose a large amount of close together interesting landscape (roleplay-wise it would be like another continent).
     
  16. Offline

    Zarius

    Working fine in 818 :)
     
  17. Offline

    Agmanotis

    @Zarius
    Download link down.
     
  18. Offline

    Zarius

    Odd, I'll let croxis know (if he doesn't read here first).
     
  19. Offline

    Agmanotis

    @Zarius
    Oh, sorry, I thought you were the plugin developer. :p
    Um, if you have a copy of BoundaryKill 1.3, is it possible if you can upload it here?
     
  20. Offline

    Zarius

    I do have a copy but I'll do croxis the courtesy of waiting a couple of hours for a reply first - then I'll post a mirror until he returns and fixes it.

    Edit: croxis fixed the link :)

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

    croxis

    *rubs eyes* Agmanotis, you posted at midnight my time (after my bedtime), and Zarius you last posted at 4am, before I ever got up. It is 7am right now.​
    Timezones people timezones. (And plugin devs who have day jobs)​
    Link is fixed​
     
  22. Offline

    Zarius

    Heh - you're checking the forums early then :D Thanks for the link fix :)
     
  23. Offline

    Agmanotis

    @croxis
    Ah forgive me for seeming impatient! Thank you so much in any case. :D
     
  24. Offline

    fatmarley

    love this mod!
     
  25. Offline

    Pythros

    I'm interested in using this, but before I do, is the radius circular only? If so, can it possible be made to be a rectangle/square?
     
  26. Offline

    croxis

    It is circle only. Now that my student teaching is finished I plan on getting back to work on this plugin. I hope to have something out tomorrow
     
  27. Offline

    Fuzzwolf

    Ticks doesn't seem to work on 860 so my border seems to be a little cruel... but great plugin nonetheless.
     
  28. Offline

    croxis

    Sorry guys, been busy with towny and RL stuff. My server does not use this plugin anymore so if anyone else would like to pick up development I would not mind at all.
     
  29. Offline

    fatmarley

    ive been following your development on towny, great job....but please, could you just keep this updated to the current bukkit at least and not add or change features?

    Please!
     
  30. Offline

    Zarius

    It's working fine in RB935. :)
     
  31. Offline

    arnie231

    is this working for 958 ? as its the only border plugin with exception
     

Share This Page