PvP/PvE areas and developer API

Supported Games
GameServerKingsGameServerKings

Magic Area is a simple area system that uses a single point and a radius.

[IMG]http://pokit.org/get/img/9595791d48dfbdcdfc09549fcadba330.jpg[/IMG]

[B]Current Features:[/B]

  • Entities and structures expire after a certain amount of time (you decide).
  • Auto-kit upon enter of area, inventory reset upon leave.
  • No researching allowed within area (if chosen).
  • Respawn inside area if killed inside.
  • and much more...

[B]Commands:[/B]area.create (VIA F1 console, ingame)

[B]Planned Features:[/B]In depth spawn configuration.Language integration for messages.Commands/methods to edit data without unloading and reloading plugin.

[B]Hooks (Called Upon Enter/Exit):[/B][code]OnPlayerExitMagicArea(BasePlayer player, int area)OnPlayerEnterMagicArea(BasePlayer player, int area)[/code]

[B]Other Hooks:[/B][code]CreateMagicArea(Vector3 position, float radius, string title = "-1", string description = "-1", bool enabled = true)MagicAreaExists(int id)[/code]

[B]Default Configuration:[/B][code]{"Admin": {"MaxLevel": 2},"Settings": {"Debug": true,"DefaultExpire": 10800,"TimerInterval": 1}}[/code]

[B]Example Area (Will give kit "supplies"):[/B][code]"Areas": {"1723811619": {"iID": 1723811619,"tTitle": "Practice Zone","tDescription": "Practice your mad skills.","fMinX": 179.981812,"fMinY": 3.15574741,"fMinZ": 2.85190845,"fRadius": 50.0,"uEnabled": true,"bGod": false,"bResetInv": true,"iCount": 0,"tKit": "supplies","bCanResearch": false,"bRemoveEntities": true,"iEntityExpire": 20,"Spawns": {}}[/code]

This is a work in progress and may have bugs, I hope to build this plugin up with ideas from users.

This plugin is unlicensed and the original author reserves all rights to it.

The original author may request that this plugin be removed and there is a risk that the plugin may be unavailable in the future.

Note that the current maintainer may not have permission to assign a license to the plugin if they are not the original author, so explicit permission would need to be obtained from the original author in order for the plugin to remain openly available and guarantee that it will be around for all to enjoy going forward.

8.3K downloads
11 watchers

importedunmaintained