skyslycer / bookrulesold Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Opening the rulebook on current PaperMC (1.18.2) will produce the following exception:
org.bukkit.command.CommandException: Unhandled exception executing command 'rulebook' in plugin BookRules v2.3.3
...
Caused by: java.lang.NoSuchMethodError: 'net.kyori.adventure.text.minimessage.MiniMessage net.kyori.adventure.text.minimessage.MiniMessage.get()'
at de.skyslycer.bookrules.core.BookManager.open(BookManager.java:145) ~[bookrules-2.3.3.jar:?]
...
This is probably due to an API change of MiniMessage. The get()
method does not exist for MiniMessage
and so does the parse()
method. I'd suggest replacing (BookManager.java#L144)
for (String page : bookContent) {
Component component = MiniMessage.get().parse(page);
customBookContent.add(BungeeComponentSerializer.get().serialize(component));
}
with:
for (String page : bookContent) {
Component component = MiniMessage.miniMessage().deserialize(page);
customBookContent.add(BungeeComponentSerializer.get().serialize(component));
}
Maybe there are also other places which require changes. The current adventure Javadoc can be found here.
Could be related to this: https://forums.papermc.io/threads/paper-1-18-2.185/
This plugin spams the following error in our log:
[02:06:42] [ForkJoinPool.commonPool-worker-3/WARN]: java.sql.SQLException: Operation not allowed for a result set of type ResultSet.TYPE_FORWARD_ONLY. [02:06:42] [ForkJoinPool.commonPool-worker-3/WARN]: at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129) [02:06:42] [ForkJoinPool.commonPool-worker-3/WARN]: at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) [02:06:42] [ForkJoinPool.commonPool-worker-3/WARN]: at com.mysql.cj.jdbc.result.ResultSetImpl.first(ResultSetImpl.java:609) [02:06:42] [ForkJoinPool.commonPool-worker-3/WARN]: at bookrules 2.3.3.jar//de.skyslycer.bookrules.api.RulesAPI.lambda$playerHasAcceptedRules$0(RulesAPI.java:28) [02:06:42] [ForkJoinPool.commonPool-worker-3/WARN]: at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) [02:06:42] [ForkJoinPool.commonPool-worker-3/WARN]: at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) [02:06:42] [ForkJoinPool.commonPool-worker-3/WARN]: at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) [02:06:42] [ForkJoinPool.commonPool-worker-3/WARN]: at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) [02:06:42] [ForkJoinPool.commonPool-worker-3/WARN]: at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) [02:06:42] [ForkJoinPool.commonPool-worker-3/WARN]: at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) [02:06:42] [ForkJoinPool.commonPool-worker-3/WARN]: at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Can you please fix this?
Hello,
im using a Combined Plugin list of EssentialsX, LuckPerms, PL-Hide-Pro and BookRules.
Is it Possible to promote an user who accept the rules from Guest(Who has no permissions on the Server) to an other Group Added with LuckPerms?
I Need this Information ASAP
Thanks Greets
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.