By viveleroi - Edited by kasperfranz
Prism is a rollback/restore grief-prevention plugin for Sponge-based Minecraft servers.
Prism 3.x has been completely rewritten for Sponge. It's still very early in the development process but we're working hard to exceed even our own standards.
Because of this, our feature set is growing. File an issue or let us know in IRC what's important to you.
- ~ Builds ~ will come as soon as we have it on jenkins Server (hopefully soon)
If using Mongo, download the Prism-(version)-all.jar
file. Otherwise, download Prism-(version).jar
.
- api-7 branch is for sponge api 7.
- Prism 3.0.0-beta3+ is for Sponge 5.
- Prism 3.0.0-beta2+ supports SpongeAPI 4.0+
- Prism 3.0.0-beta1+ supports SpongeAPI 3.0+
- Place into your
mods
directory. - Ensure your Prism configuration file has the proper database connection details.
- Unprecedented block change tracking. We've worked closely with the Sponge team to ensure it provides us the framework we need.
- Lookup & "near" commands.
- Rollback and Restore commands.
- "Undo" command.
- MongoDB Support (Recommended)
- H2, MySQL support.
/pr l (parameters)
- Lookup records, filtering by parameters./pr near
- Query nearby records./pr rb (parameters)
- Rollback, filtering by parameters./pr rs (parameters)
- Restore, filtering by parameters./pr undo
- Undo your last rollback/restore action.
a:(event)
- "Action".break
,place
, etc.b:(block id)
- "Block" name. Like "grass".before:(time)
- "Before" time period.c:(cause)
- Non-player causes, i.e. "environment"player:(name)
- "Player" name. May be an offline player.r:(number)
- "Radius" - A distance around you.since:(time)
- "Since" time period.
-clean
- Clean dangerous blocks and item drops from the rollback area.-drain
- Drain liquids within a rollback area.-no-group
- Prevent record grouping in lookups. Clicking on a single record will teleport you to those coordinates.
prism.info
- Can view information about Prism.prism.help
- Can view help.prism.inspect
- Can use inspection wand.prism.lookup
- Can query records (via lookup or near).prism.rollback
- Can perform a rollback.prism.undo
- Can undo a rollback.prism.override.radius
- Can exceed the maximum radius in the config.
Coming soon. Bug vive about this.
Prism supports a variety of databases. We work hard to ensure is Prism is fast and efficient, but there are a lot of variables and no matter how much we tweak the "out-of-box" experience, the location, hardware, and configuration of your database servers can be a crucial factor.
MongoDB is a "no-sql" database, meaning it works very differently from sql-based databases. Rather than define fixed schemas, we store records as "documents". Given the variable nature of Minecraft and Mod data, it's difficult to work with a fixed schema.
We really appreciate other features like it's incredible performance.
Mongo can be installed and run similarly to other database servers.
MySQL and the MariaDB fork are familiar products, especially for users of Prism 1/2. We continue to support these two products although native JSON support is essentially unavailable
Recent versions of MySQL support native JSON, while MariaDB has some support - although they've diverged in their handling. Supporting would require special work for each and is not a priority at this time.
H2 is a file-based storage engine which does not require any servers or setup on your part. It's useful only for testing or small servers. File-based storage engines are quite limited compared to database servers.
Unfortunately, H2 does not fully support batch inserts the way Prism needs - this impacts Prism's performance as it either prevents us from using batches, or prevents us from utilizing table relationships.
Also, H2 doesn't seem to have a way of grouping by formatted data - in this case the date. It has to group on the column itself which would defeat the purpose. For now, records are grouped but without dates.
Prism can be extended with support for additional storage engines. We always are open to PRs if you would like to submit further support.
Prism 3 offers an API which allows you to:
- Query the database.
- Register custom action handlers (allow custom parameter parsing).
- Register custom result handlers (allow custom rollback/restores).
- ... and more!
Documentation Pending.
Please follow prism development on irc.esper.net
in #prism
Prism 3 is the successor to Prism 1/2 (for Bukkit/Spigot/Cauldron). While much of the code has been rewritten it's still influenced by our original vision.
- viveleroi (Creator, Lead Dev)
- Dev Testing: Wolfire1, Ollie2000, ickyacky
- bloodmc (Assistance with MCPC+ special compatibility)
- nasonfish (Contributor)
- YeaItsMe (Release QA)
- nasonfish, Natman93, YeaItsMe, mafoan (Alpha Testers)
- mafoan, randox24, tacovan, nehocbelac, Shampoo123, cxmmy14, Palczynski, drac17, ollie2000, PGKxNIGHTMARE, allies333, DocVanNostrand, drfizzman123, 00benallen, rachaelriott, PheonixTamer, YeaItsMe, Natman93, Brazter, sydney2005, rsleight, napalm1, Teh_Fishman, and plenty more from DHMC (Live Testers on DHMC)
- Artwork by LegendarySoldier
Thanks to YourKit for an open source license for their java profiling application.
Hey my name is Kasper Franz, I am from a minecraft community called Community Built and we do alot of different modpacks around minecraft, I am hosting minecraft modpacks and making plugins.
So please, make a donation and make it easier for me to continue with these amazing plugins.
Use the provided Gradle runtime to compile.
./gradlew build
git clone [email protected]:prism/Prism.git
cp scripts/pre-commit .git/hooks