From b34277a828e044e8f71ca2919b654b0bb08ba3da Mon Sep 17 00:00:00 2001
From: amyavi <144570677+amyavi@users.noreply.github.com>
Date: Sat, 8 Mar 2025 18:48:51 -0300
Subject: [PATCH] fix: update chmodded files

---
 script/server.sh | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/script/server.sh b/script/server.sh
index e518f61..9905ef1 100755
--- a/script/server.sh
+++ b/script/server.sh
@@ -20,13 +20,14 @@ while true; do
 
 	# Make certain files and folders read-only
 
-	mkdir debug/ dumps/ plugins/update/
-	chmod -R 500 debug/ dumps/ plugins/bStats/ plugins/update/
-	chmod 500 plugins/
+	mkdir debug/ dumps/
+	chmod -R 500 debug/ dumps/
+
+	chmod 500 config/ plugins/ mods/
+	chmod 400 config/paper-global.yml config/paper-world-defaults.yml
 	chmod 400 bukkit.yml
 	chmod 400 commands.yml
 	chmod 400 eula.txt
-	chmod 400 paper.yml
 	chmod 400 permissions.yml
 	chmod 400 server-icon.png
 	chmod 400 server.properties