[Inactive] [SEC] AutoRegionGuard v0.5 - 'Players' protect regions simply by building [860]

Discussion in 'Inactive/Unsupported Plugins' started by friesnadrink, May 1, 2011.

  1. Offline

    friesnadrink

    AutoRegionGuard- 'Players' protect regions simply by building
    Version: 0.5

    This is my first go at java and I welcome any input other developers might have on my plugin. I hope you guys like it!

    AutoRegionGuard is different from traditional protection plugins because players don't need to use any commands to gain its benefits. Players can 'claim' a chunk (16x16 square of blocks sky to bedrock) just by placing 16 blocks within that chunk. This protects their structures and chests from grievers/other players that they have not added to their 'friends list'. One of the hopes I have of this plugin is that mods will need to do less intervening and can instead focus on other things. Also includes /god.

    Features:
    • Claimed regions are protected from other players placing/breaking blocks/lava/water
    • Unauthorized players cannot open chests in claimed regions
    • Automatically claim a chunk by placing 16+ blocks in it
    • Prevents creeper explosions if they would affect a claimed region
    • Godmode
    • Ops/Mods bypass protection
    • Right-click with 'String' (now configurable) to get chunk info
    • Right-click with 'Feather' (now configurable) to unclaim a chunk (arg.bypass allows unclaiming of others' chunks)
    Download:
    Latest Jar
    Source

    Commands:
    Permission node
    Description

    /arg toggle
    arg.user
    Turns on/off(default) autoclaim

    /arg claim
    arg.claim
    Claim the chunk you are standing in

    /arg info [<world> <xvalue> <zvalue>]
    arg.user
    Get info about the chunk you are standing in or specified


    /arg unclaim [<world> <xvalue> <zvalue>]
    arg.user
    Unclaim the chunk you are standing in or specified

    /arg friends
    arg.user
    Displays your list of friends

    /arg addfriend [playername]
    arg.user
    Adds a friend to your friends list

    /arg removefriend [playername]

    arg.user
    Removes a friend from your friends list

    /arg save
    arg.saveload
    Saves Regions.txt and FriendsList.txt

    /arg load
    arg.saveload
    Loads Regions.txt and FriendsList.txt

    /god [player]
    arg.god
    Enables/Disables godmode

    Changelog:

    Version 0.5
    • fixed an ArrayIndexOutOfBoundsException when adding/removing friends
    • flint and steel can no longer be used to claim
    • fixed /arg toggle problem that involved typing the command twice to truly toggle
    • added explosionprotection(true/false) as an option in arg.properties
    • added protectchests(true/false) as an option in arg.properties
    • added /arg give <playername> [<world> <chunkx> <chunkz>]. Must have arg.player(and arg.bypass if you dont own it). Gives <playername> the specified chunk.

    Version 0.4
    • added fire protection for claimed chunks(fire won't spread or destroy blocks in claims)
    • /arg [removeplayer, save, load, checklastonline] can all be used from the console
    • added properties file to change many different settings such as autoclaim being on/off by default
    • added a maximum for owned chunks (configurable setting, bypassed by arg.bypass)
    • fixed /arg claim permission issue
    • added /arg unclaim [<world> <xvalue> <zvalue>] for long distance unclaiming
    • added /arg info [<world> <xvalue> <zvalue>] for long distance info
    Version 0.3
    • /arg removeplayer [playername]. Must have arg.bypass. Removes all claims [playername] has.
    • scheduled saves (every 30min)
    • ARG now creates LastOnline.txt. Format [playername];yyyy/MM/dd/HH
    • expire regions for inactive players
    • /arg checklastonline. Must have arg.saveload. Manually executes code to expire players.
    • Changed permission node for /arg claim to arg.claim
    Version 0.2.1
    • Fixed incompatibility with EssentialsChat (Thanks iggiiggi)
    Version 0.2
    • Added chunk info tool. Must have arg.user. To use right click a block while holding
      string.
    • Added /arg info. Must have arg.user.
    • Added unclaim tool. Must have arg.user (and arg.bypass if you dont own it).To use right click a block while holding feather.
    • Added /arg unclaim. Must have arg.user (and arg.bypass if you dont own it).
    • Added /arg friends. Displays your list of friends. Must have arg.user.
    • Fixed a error when using /god on other players
    • Added /arg toggle. Must have arg.user. Turns on/off(default) autoclaim.
    Version 0.1
    • Releasing my awesome plugin
    Big thanks to @Sammy and @Samkio for their awesome tutorials and posts.
     
    marti.2001 and GreyBishop like this.
  2. Offline

    Sunset

    Thx for the download Chiller
    But is there a change for mysql support.
    A Version of the Plugin i have for my Bukkit 1337 Server got it.
    pls add mysql support
    its very inportant
    without it it will begin to lag like crazy if many chunks are saved

    thx in advance :D
     
  3. Offline

    recon88

    I saw that a lot of people are asking for an updated ARG.
    I updated it for my own server on every Craftbukkit update.
    Also i added a huge amount of new features + MySQL support.

    Currently I'm changing/adding some more stuff and cleaning up the code. But it will be done soon !

    Work in progress thread. Here you can follow the progress:
    http://forums.bukkit.org/threads/wi...im-chunks-by-building-and-protect-them.71855/

    If you want to get status updates just like this thread or follow me.
     
    Sunset likes this.
  4. Offline

    recon88

Share This Page