mySQL - Tag system
#1

I made a tag system, in the admin list you will be able to edit admins tag (will be saved in SQL database)
but whenever I restart the server the whole tags lost and i want it to be saved.
when player disconnect then rejoins the game he still has the same tag but if the server restarts then the tag will be gone.
Should I make a code to save it on public OnGameModeInit?
Reply
#2

Code or no effort will be afforded, read the "Before you post" threads before you post.
Reply
#3

That's the problem I don't know which code should I give you lel
Reply
#4

Make a command to restart the server.
1. enter command
2. create timer
3. save everything
4. restart it

or better way - also for later usage of "just for fun" - create a /save-all command
Reply
#5

Quote:
Originally Posted by GangstaSunny.
Посмотреть сообщение
Make a command to restart the server.
1. enter command
2. create timer
3. save everything
4. restart it

or better way - also for later usage of "just for fun" - create a /save-all command
it isn't needed. Just save things when it changes.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)