PlotSquared - Reinventing the plotworld
Find a file
Alexander Söderberg 9868648fcb
Pull/2693 (#2694)
* Commit WIP flag work.

* More ported flag types, and additions to the flag API.

* Make PlotFlag more generic to allow generic flag creation

* Pull Captions methods into a Caption interface.

* Port MusicFlag

* Port flight flag

* Port UntrustedVisitFlag

* Port DenyExitFlag

* Remove paper suggestion

* Make ListFlag lists immutable

* Update Flag containers. Add javadocs. Add missing methods.

* Port description flag

* Port greeting and farewell flags

* Port weather flag

* Move getExample implementation to BooleanFlag

* Port reserved flags

* Port all boolean flags.

* Remove unused flag types

* Invert liquid-flow flag

* Find the real (legacy) flag name

* Change NOITFY -> NOTIFY in Captions

* Make IntegerFlag extendable

* Port integer flags

* Update Flag command to current API state

* Begin remaking flag command

* Create DoubleFlag + extract common parsing stuff

* Supply arguments in flag parse exceptions

* Implement missing flag subcommands

* Update Flag command to current API state

* Implement PriceFlag

* Port deny-teleport

* Port gamemode flags

* Port BreakFlag

* Port PlaceFlag

* Port UseFlag

* Remove old unused flag constants

* Port blocked-cmds flag

* Fix entity util

* Port TimeFlag

* Use CaptionUtility for formatting

* Port keep flag

* Fix imports

* Reformat code

* Remove unused classes

* Fix MainUtil.java

* Remove FlagCmd

* Add flag info header and footer

* Comment out flag related stuff in SchematicHandler

* Remove FlagManager

* Finalize Plot.java

* Finalize PlotArea.java

* Finalize PlotListener

* Fix API issues

* Fix a bunch of compile errors

* Fix `/plot flag remove`

* Fix initialization of GlobalFlagContainer

* Apply API changes to events

* Update SQLManager to new API

* Invert default value for DenyExitFlag

* Replace flag.getValue().toString() with flag.toString()

* Make FlagContainer instance in Plot final

* Fix various command issues

* Clean up PlotSettings

* Don't show internal flags in flag list

* Fix `/plot flag add`

* Remove the info inventory as it's 100% broken

* Add plot info entries and fix up the default format

* Fix default flag state in Captions

* 781c200 part 2

* Fix odd grammar in captions

* Fix odd grammar in captions v2

* Add create table statements for plot_flags

* Remove old flag references in SQLManager

* Use the new plot_flags table

* Add tab completion to `/plot flag`

* Improve parse error handling

* Make flag permission check recognize parse exceptions

* Initial progress towards flag conversion

* Fix minor issues

* Don't validate flags during flag conversion

* Allow unrecognized flags to be parsed

* Filter out internal flags from command sugguestions

* Use the wrong caption when there's no plot description set

* Limit command suggestions for boolean flags

* Make blocktypelistflags accept blockcategories

* Require categories to be prefixed with '#' and fix some minor display issues

* Fix plot database conversion

* Update PlotFlagEvent.java

Updated return description

* Fix command annotation wrapping

* Add FLAG_UPDATE event for FlagContainer listeners

* Make getParentContainer nullable

* Document castUnsafe in FlagContainer

* Document FlagContainer constructors

* Add missing documentation to FlagContainer

* Document FlagParseException

* Fix wording in FlagContainer javadoc

* Document InternalFlag

* Document PlotFlag

* Minor changes

* Remove revisit comments

Co-authored-by: Hannes Greule <SirYwell@users.noreply.github.com>
Co-authored-by: NotMyFault <mc.cache@web.de>
Co-authored-by: Matt <4009945+MattBDev@users.noreply.github.com>
2020-02-24 18:42:02 +01:00
.github Update issue template 2020-02-14 17:54:45 +01:00
Bukkit Pull/2693 (#2694) 2020-02-24 18:42:02 +01:00
Core Pull/2693 (#2694) 2020-02-24 18:42:02 +01:00
gradle/wrapper Allow all messages to be formatted by external formatters and add PAPI support 2020-02-20 16:03:17 +01:00
Nukkit Implemented optional specification of teleport causes 2020-01-02 18:29:12 -10:00
Sponge Implemented optional specification of teleport causes 2020-01-02 18:29:12 -10:00
.gitignore Generate javadoc with aggregatedJavadocs option 2019-05-02 15:54:14 +01:00
build.gradle Add current + new version to update notification 2020-02-16 14:37:07 +01:00
code_style.xml - Update code style to format annotations nicely 2018-12-26 17:21:06 +00:00
CONTRIBUTING.md Create CONTRIBUTING.md 2019-09-07 12:46:40 +02:00
gradle.properties Add alternative maven link and re-enable gradle daemon 2018-08-10 23:41:31 +02:00
gradlew Update gradlew 2020-01-10 14:07:33 +01:00
gradlew.bat Update gradlew 2020-01-10 14:07:33 +01:00
LICENSE Extremely minor text change to LICENSE 2016-03-18 16:50:43 -04:00
README.md Update README.md 2020-02-21 00:53:52 +01:00
settings.gradle Update lombok version build. Disable Sponge and Nukkit builds. 2018-12-06 16:49:49 +01:00


PlotSquared is a land and world management plugin for Minecraft. It includes several highly configurable world generators. You can create plots of land in existing worlds using plot clusters, or you can have a full world of plots.

For the end user, PlotSquared is packed with a tonne of cool features. It allows you to merge plots, and build together with your friends. You can also change a lot of plot specific settings in the form of flags. Such as: weather, time, game modes, pvp status.

Whilst we provide a whole load of unique features, the biggest focus is to provide a lag-free and smooth experience.

Developer Resources

Building

Gradle is the recommended way to build the project. Use ./gradlew build in the main project directory to build the project. Gradle is required if you intend to build or develop the Sponge module.

Contributing

See here

Suggestions

Suggestions are welcome! We have a separate issue tracker for suggestions, that can be found in this repository.

Official Addons

Sponsors

Our official sponsor list can be found here.
If you are interested and want to be listed here, contact us.