Skip to content

Creating a system

Derpbox edited this page Mar 4, 2021 · 14 revisions

Creating a system folder

Make a copy of the Template folder in data/dbx.proxy/functions/system/template and name it after your(&) system

Warning: Do not use capitalization!

Modifying Files

/functions/system/systemname/proxy.mcfunction

Line 2

execute if score @s proxy matches 1 run function dbx.proxy:system/template/list

Line 3

execute if score @s proxy matches 2.. run function dbx.proxy:system/template/proxies/load

/functions/system/systemname/proxies/load.mcfunction

  • For this you(&) must edit the paths for every member

Line 8

execute if score @s proxy matches 2 run function dbx.proxy:system/systemnamehere/proxies/user1/switch

/functions/install.mcfunction

  • Add your(&) system installer to this list
#System Name Here
function dbx.proxy:system/systemnamehere/install

/functions/loadtags.mcfunction

  • Add your(&) username to this list
#System Name Here
tag @s[name=UsernameGoesHere] add dbx.p.sysname

/functions/proxycheck.mcfunction

  • Add your(&) system to this list
#System Name Here
execute as @s[tag=dbx.p.sysname] run function dbx.proxy:system/systemnamehere/proxy

Next: Adding Members

Clone this wiki locally