#teach me sensei
1 messages · Page 1 of 1 (latest)
for education purpose i wont tell you how to code but i will help u know what u need
ok ok
alr
when u are done u need to write a function to read the saving file
so first I have to create a config file
and then with the help of read and write I have to save the config file?
you run the give command
-> server: read the file and get the previous number (if it is nothing keep the number as 0)
-> add 1 to the number u read from file
-> add a lore for the item with that added number
-> save/write the number to the file
-> give player the item