- check_circle Functions
- 15,735 views, 3 today
- 1,985 downloads, 0 today
8
This datapack I put together for myself and my children. I had a blast making it and learning along the way. I hope others find it useful too. It adds many popular features to your Vanilla Mincraft multiplayer exerience. Use it locally, on a remote server, even realms.
Please note I could really use some test players on my MC Java edition Realms server to develope this further. Ask me for an invite and you shall have it ! Thank you.
video explanation of the datapack here
https://youtu.be/-2mUIwfhyR8
ServerBox 1.0
Datapack for Vanilla Minecraft 1.16+ (formerly titled Vanilla+)
BY RETRODESIGN3D (formerly coffeebuzz77)
RETRODESIGN3D@AOL.COM
This datapack is designed to add popular server features usually found on bukkit servers and other mods to Vanilla MC. Can be used on local, rented vanilla server or on Minecraft Realms. All the features below are achieved without force loading any chunks and so should not impact performance.
FEATURES
CLAIMING LAND
Easily claim your land (60x60 square), unclaim and choose a new location as you see fit.
10m wait between claiming and deleteing your plot. The server will notify you when you enter & leave your plot, and when you enter & leave the plot of another player. You have special rights on your land outlined in features below.
LOCKING ITEM STANDS AND ARMOR STANDS
Decorate and show off your items with confidence you can lock and unlock both item frames (normal and glowing) as well as armor stands.
SECURE DOORS ON YOUR PROPERTY
When on your land you can open and pass through iron doors without levers, buttons or any other mechanism, but other players cannot. So you can rest easy knowing nobody will gain access to anything inside your home unless you let them in.
LOCKING CHESTS
You could simply put your chests indoors knowing you are the only one who can pass through the iron door entry(see door feature above) but as an added security option while on your land you can lock chests and unlock them at will.
SHARING LAND PLOTS (groups)
Do not want to build or mine alone on your land ? Not a problem, you can invite as many players as you like to be a part of your plots group. Invited players can build and destroy on your land so only invite those you truely trust.
TELEPORTING
Teleport Home, to Spawn and even to your last Death location (one death tp per actual death)
Teleport to your fellow players so long as they accept your teleport request.
Make your home in the overworld, the nether or even the end. You can teleport across dimensions.
ALL teleporting is accomplished without ever force loading a single chunk.
ADMIN CONTROL & OPTIONS
MESSAGE OF THE DAY
Configure the MOTD without any external files. Using the serverbook you can position
the MOTD marker on top of a sign that you place down. The MOTD will read from this sign
and an optional second sign placed to the right of the first one (X+1). The MOTD supports wordwrapping when
making your sign message.
The MOTD displays to players at login and once every 30m.
This time can be edited in the datapack function server/server_motd_displayall
PLOT PVP
Toggle whether or not players can hurt each other when on a claimed plot.
PLOT CLEANUP
Admins can delete a players plot if needed. They can also ask the server to remove any plot that has not seen activity from
its owner in two weeks or more.
MOB COUNT LIMITER
Toggle the mob limiter. This takes in to account player locations relative to one another and any large number of hostile
mobs outside of the play area that does not overlap other players are reduced.
PROTECTED LANDMARKS
Admins can drop protected markers that prevent damage to an area.
MESSAGE OF THE DAY (MOTD)
This message will display to users when they log in, or if admin runs a command
The message will read the text from any sign that is located at the MOTD marker location. It will then also read and display text from any sign that is located at the MOTD marker location plus one position in the positive X direction. The sign text is read in word wrap format.
/function sbox:server/server_motd_position
moves the MOTD marker to the admin players current position.
/function sbox:server/server_motd_toggle
toggles MOTD on and off
/function sbox:server/server_motd_displayall
Forced the MOTD to be displayed to all connected players.
ALL OF THIS IS EASILY ACCESED AND USED WITH A CONVINIENT SERVER BOOK THAT IS GIVEN TO ALL PLAYERS. IF YOU DROP OF LOSE IT THE SERVER WILL JUST GIVE YOU ANOTHER ONE.
INSTALLATION
1.Download the Sbox zip and unzip it.
2.Copy the sbox folder into your mc save folder
minecraft/saves/worldname/datapacks
run the game, load the world, open to lan or run your server.. Alternatively you can also upload your world with the datapack in the proper folder to Mineraft realms.
When you enter the world for the fist time after installing the datapack you want to run the function below.
/function sbox:server/server_full_reset
You should be standing at worldspawn at the location you wish players to teleport to when they decide to TP to Spawn, as a Spawn marker will be made during this process at your current location
Thats it!
SOME OTHER COMMANDS YOU NEED TO KNOW AS SERVER OPERATOR.
Give admin rights ( even as server operator you cannot give yourself creative mode unless you are set as admin first, and remove admin from youself if you wish to play the server as normal )
/scoreboard players set <name or selector> isadmin 1
Remove admin rights
/scoreboard players set <name or selector> isadmin 0
SERVER CARE
/function sbox:server/server_refresh
if you ever update the datapack and want to make sure all the new scoreboard features are loaded correctly you will /reload then run the command above.
/function sbox:server/server_full_reset
this will remove all saved player data and server records. basically starting over. Before you do this you will want to remove existing armor stand plot markers out in the world To do this you can type.. if you do not wish to go through the trouble you can always reupload a fresh world or regenerate world if a 100% restart is your goal.
/trigger admin_abandoned set <id>
id is the player assigned id number. As each new player joins they are given an id number and this number increases by one every time a new player joins for the first time. So if you have 10 players they will have IDs 1 to 10.
again that would be /trigger admin_abandoned 1 then again for 2 and so on. If you dont know how many players you have you can check the playercount value by typing this
/scoreboard objectives setdisplay sidebar playercount
IMPORTANT SCORES AND ENTITIES
most important entity is spawn armorstand it holds the playercount value that tracks the players.
@e[type=armor_stand,tag=spawn] will find it but do not mess with it.
another important entity is the plot coordinate storage entities.. these are at spawn too every player that claims land has one at spawn. Never mess with them or the player cannot teleport home. They can be found as follows. This entity is a bee so dont go doing /kill bee anytime! Every one of the homeplot_copy entities shares a myplayerid score equal to the player it belongs to.
@e[name="homeplot_copy"]
SCORES worth noting
sethome 0=NO HOME, 1=ASKING FOR PLOT, 2= PLOT ASSIGNED
myplayerid players unique an unchanging id assigned first time the server sees them.
Compatibility | Minecraft 1.16 |
to | Minecraft 1.18 |
Tags |
11 Update Logs
Update #11 : by RetroDesign3D 03/24/2022 8:50:27 amMar 24th, 2022
new upload. Hopefully this corrects the occasional miscount on player logins that was causing issues for some.
all previous instructions on how to use the pack are still unchanged. please see original description and included help file in the download.
unfortunately if you were effected by the previous bug you may need to do a reinstall of the pack, instructions on removing pack are in the original description and help file.
all previous instructions on how to use the pack are still unchanged. please see original description and included help file in the download.
unfortunately if you were effected by the previous bug you may need to do a reinstall of the pack, instructions on removing pack are in the original description and help file.
LOAD MORE LOGS
tools/tracking
4943008
119
serverbox-1-0-beta
Create an account or sign in to comment.
/function sbox:server/server_motd_toggle
not works. help me
Also want to say this datapack is great, it's really well thought out and implemented.
Edit: At the very bottom of the Comment section, RetroDesign3D, gave a bit of info on how to do so.