Set Page Limit/Ban Characters in Book and Quills

Discussion in 'Plugin Requests' started by ChefChandler, May 17, 2019.

Thread Status:
Not open for further replies.
  1. Offline

    ChefChandler

    Hey guys! I've had an issue on my server, which has been occurring more and more often with the implementation of 1.14's new written book qualities, of people "hacking" the server by putting too much data in a book. If the book contains more than the amount of data allowed to be downloaded by a client, it kicks them from the server. This can also be used to corrupt chunks, access protected WorldGaurd regions, etc. I was wondering if anyone could create a plugin that 1) limits the amount of pages that can be written in books, and 2) bans specific characters in books. This is something that is becoming more and more prevalent amongst Minecraft servers and I hope that soon a plugin will be available to protect your server against this. I advise all server operators to keep an eye out for this, as I've had to ban book and quills from the server, which is disappointing. If anyone has any ideas on how to do this, I would be happy to help with the coding. Cheers!
     
  2. Offline

    Tango_

    @ChefChandler
    Are you talking about the chunk duplication glitch where they use foreign, (probably Chinese) symbols and save to a book, then reset the chunk to a previous state causing duplication? I made a plugin not so long ago to fix this, that made it so only alphanumeric characters can be used inside of books.

    I updated the version to 1.14 for you, try this out: Download
    Although it doesn't let you set max pages, or blacklist characters, it will stop the chunk dupe glitch and also prevent corruption of chunks.
     
  3. Offline

    ChefChandler

    Do you think there's a way to limit max pages? And maybe allow certain non-alphanumeric characters so that you can still use punctuation?
     
  4. Offline

    Tango_

    You should have been able to use punctuation on that version, I have updated the plugin so you can whitelist special characters and also limit the page count inside of the config, you can download it HERE. Let me know how it is :p
     
Thread Status:
Not open for further replies.

Share This Page