Lightweight Maintenance

Script Lightweight Maintenance 4.0.2

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Contributors
NixNux123
Supported Minecraft Versions
  1. 1.20
  2. 1.21
A lightweight Maintenance System that is 99% configurable with PlaceholderAPI Integration.

Commands (Permissions can be configured in the File):
/maintenance
| Opens an Gui
/maintenance toggle | Enables or Disables the maintenance
--kickall | Kicks every player that doesn't have the bypass permission (can be used behind the "toggle" Argument)
/maintenance status | Check if the maintenance is enabled or not
/maintenance reload | Reloads the Skript

Dependencies - 4.0.2+:
- Skript [2.9+]: https://github.com/SkriptLang/Skript/releases

Optional - If you want to use the PlaceholderAPI-Integration:
- Skript-placeholders [1.7.0+]: https://github.com/APickledWalrus/skript-placeholders/releases
- PlaceholderAPI [2.11.6+]: https://www.spigotmc.org/resources/placeholderapi.6245/

Installation:
1. Install the dependencies
2. Restart the Server
3. Download the File
4. Copy the file into the "scripts" folder
5. Reload the Skript

PlaceholderAPI-Support:
1. Uncomment the line 'placeholderapi placeholder with the prefix "maintenance":' by removing every # in front of each line
2. Install the Optional Dependencies
3. Restart the Server
4. You can check the status of the maintenance with the PlaceholderAPI-Placeholder "maintenance_status"

It should look like that:
de4b3905-1e07-48ae-8d41-9ff71c445216.png


Support:
- skUnity DM
- My Discord (#skript-support Channel)

Please report bugs or ask questions over the support options above!


~NixNux123
Author
NixNux123
Downloads
237
Views
712
First release
Last update
Rating
3.50 star(s) 2 ratings

Latest updates

  1. [4.0.2] Refactoring and syntax updates

    - Updated the PlaceholderAPI integration to the new addon syntax - Refactored the code - GUI...
  2. Fixxed Typo

    Fixxed Typo

Latest reviews

This maintenance script does the job well, and the cool GUI is a nice touch that makes it more user-friendly. However, I noticed that some lines in the code seem unnecessary and could be cleaned up for better efficiency. Despite that, it functions as intended and has been reliable for my needs. Overall, it's a solid tool with room for a bit of improvement.
NixNux123
NixNux123
Hi,
Thank you for your review, I'm glad that it's a reliable system for you.
I'm always open to constructive criticism and suggestions for improvement. Are you talking about the reload argument in the script? If you want, please let me know your criticism/suggestions in the Discussion tab.
Alright since I have to give constructive criticism or else baefell will ban me:


1. Why do you need to configure this, just why? We don't need to configure every single message that isn't even sent to members, literally 5 of these options are needed.

2. Time to tell you why this is useless:
/whitelist on
/whitelist add (...)
/kick @a

for "reload":
/sk reload


3. "Informations" is not a word, "information" does not have a plural form.


Alright time for the things I think are good:

Cool gui I guess?
NixNux123
NixNux123
Hey,

1. You don't have to. If you want, you can do it or just leave it on the default.
2. Nobody forces you to use this Skript. Of course you can use the whitelist if you want. The same goes for the reload command.
3. Thats correct, my bad. I'll fix this.