Anonim
Anonim
AAdmincraft
Created by Anonim on 9/25/2024 in #questions
Appropriate way of saving player's inventory in database
Hello, I'm looking for an efficient way as well as other people perspective about saving player's inventories. I'm working on creating an RPG SMP server, and I'm working on my OWN plugins for the RPG, and lately i found out a concerning problem about players inventories, I know there some ways of saving them i have tried using the base64 format of saving but found out that armor was not saving appropriate, And right now I'm Using JSON for saving player inventory in the database and save the inventory, armor and offhand in separate columns and after some headache about the metadata not working correctly I finally made it work. Now my concern is that is JSON the most optimal ? My main idea was using JSON so it's gonna be easier for me to Fetch people items and UPDATE/BUFF/NERF them much easier than having the Inventory class encoded in base64 and saving it in the database it like that. Could someone who worked on stuff like that give me a path or a tip about it ? Mainly if i should keep json and how could i make Updating/nerfing/buffing items more easily for all the player's
59 replies
AAdmincraft
Created by Anonim on 9/28/2023 in #questions
Holograms with ExcellentCrates
Hey, I think title its pretty straight forward. Searching if is any hologram plugin that allow me to insert numbers of %keys% of the player has on him for the specifics crates.
4 replies
AAdmincraft
Created by Anonim on 7/29/2023 in #questions
Use of github as ftp ?
Hey there! I'm excited about starting a new server with a friend, and to begin with, I'd like to host it locally on my machine for convenience. However, a minor challenge we face is ensuring both of us have access to the plugins and server files. I'm wondering if there's a good way to share only the Minecraft server folder online without giving my friend access to my entire PC. One idea I had is to use a GitHub repository. We could create a custom script or a plugin with a custom command that automatically checks for any new pushes in the branch. If it finds any updates, it could pull those changes and restart the server accordingly. This would provide a controlled way of sharing the server files without exposing my entire system to my friend. What do you guys think about this approach? Any suggestions or alternative ideas?
54 replies
AAdmincraft
Created by Anonim on 7/19/2023 in #questions
Bungeecord ping spam
Hey guys, i will really want to ask about spam of "InitialHandler has pinged" from different IP adresses, is it a minecraft server scrapper bot ? And also if there any way of preventing it
21 replies