BorderArea - Limit players to a rectangular region
BorderArea takes points set from a configuration file to set a boundary to all player movement, limiting them to within the resulting rectangular region.
On first run BorderArea will create a file named 'points' in the 'BorderArea' folder. The 2 points may then be set by using integer values that create a rectangular region in which to spawn a player.
The default points set by the plugin on first run are (-100,-100) and (100,100)
Please note, that the server spawn point should be set within the rectangular region that is set, not doing so can result in a StackOverflowError and copious amounts of console spam.
- Limits player movement to a rectangular region
- Rectangular region is able to be set from a file
Suggested by kahlilnc.