• check_circle Functions
  • 12,069 views, 21 today
  • 1,702 downloads, 2 today
  • 49
  • 48
  • 73
RetroDesign3D avatar RetroDesign3D
Level 27 : Expert Miner
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.
CompatibilityMinecraft 1.16
toMinecraft 1.18
Tags

11 Update Logs

Update #11 : by RetroDesign3D 03/24/2022 8:50:27 amMar 24th

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.
LOAD MORE LOGS

Create an account or sign in to comment.

1
06/11/2022 6:16 pm
Level 6 : Apprentice Explorer
SpaceWalrusReal
SpaceWalrusReal avatar
Is there a way to get it to work with geysermc? I am trying to get a bedrock compatible server, and clicking the stuff in the book doesn't seem to work on bedrock...
1
05/02/2022 2:07 pm
Level 1 : New Crafter
GladiosAnim
GladiosAnim avatar
Hello! uh, i was testing your datapack in my SURVIVAL world ( version 18.1 ) and it seems that the datapack dont works did i did something wrong? because the
/function sbox:server/server_motd_toggle
not works. help me
1
03/24/2022 3:49 pmhistory
Level 1 : New Miner
ApplesoftheEarth
ApplesoftheEarth avatar
Can you claim more then 60 by 60? Is there a prebuilt in function to add more claim area, or do i have to go and edit the file?

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.
2
03/26/2022 2:49 pm
Level 27 : Expert Miner
RetroDesign3D
RetroDesign3D avatar
it does take some editing, if you look through the comments I explain to another what to edit. I may add a more convinient way to do this in the future. If only datapacks allowed variables.
1
03/26/2022 11:38 am
Level 1 : New Miner
ApplesoftheEarth
ApplesoftheEarth avatar
also is there a way to permanently make gamerule mobGreifing true? the data packs repeatly turns it to false.
1
02/06/2022 10:12 am
Level 1 : New Miner
User4028928F
User4028928F avatar
Hi! So after a server restart, the armour stand at spawn is now visible. how would i go about fixing that?
1
01/23/2022 5:10 amhistory
Level 1 : New Miner
atulos
atulos avatar
How would I go about hiding the armor stands and text at spawn? I am on 1.18.1.
1
01/09/2022 1:55 am
Level 1 : New Miner
ramiesie
ramiesie avatar
hi! sorry to bother you, i installed it in a server with my friends and the claiming lot part doesn't completely work, i mean, you can claim the land and your user appears but there's none message when you enter or leave the zone, and other people can still break blocks there, is there any help you can give me?
1
12/31/2021 8:37 pm
Level 1 : New Miner
TheDarkPreacher
TheDarkPreacher avatar
Was testing this in a singleplayer world in 1.18.1 before I installed it in my server, and I installed it properly, but when I run the "/function sbox:server/server_full_reset" command, I get an error of "Unknown function sbox:server/server_full_reset". I took a look at the pack.mcmeta file and noticed that the pack format was 6. Shouldn't it be 8? also, do the ServerBox and R3D core folders need to be zipped or just run as normal folders?
1
12/21/2021 3:22 pm
Level 1 : New Miner
BitterBunn
BitterBunn avatar
Hello, i have a realm going on and everything works perfect except for the ID player we cannot use the TPA because all the players in the server they have the same id which is 0, id try reinstalling multiple times and reset the server but no matter what i do the id keeps being 0 so we are unable to use the tpa function, any suggestion?
Planet Minecraft

Website

© 2010 - 2022
www.planetminecraft.com

Welcome