init.lua 1.1 KB

123456789101112131415161718192021222324252627282930
  1. dofile(minetest.get_modpath('lobby')..'/lobby.lua')
  2. dofile(minetest.get_modpath('lobby')..'/buttons.lua')
  3. dofile(minetest.get_modpath('lobby')..'/chat_commands.lua')
  4. dofile(minetest.get_modpath('lobby')..'/chat.lua')
  5. dofile(minetest.get_modpath('lobby')..'/corpse.lua')
  6. dofile(minetest.get_modpath('lobby')..'/emergency_buttons.lua')
  7. dofile(minetest.get_modpath('lobby')..'/formspec.lua')
  8. dofile(minetest.get_modpath('lobby')..'/functions.lua')
  9. dofile(minetest.get_modpath('lobby')..'/player_callbacks.lua')
  10. dofile(minetest.get_modpath('lobby')..'/shop.lua')
  11. dofile(minetest.get_modpath('lobby')..'/stats.lua')
  12. dofile(minetest.get_modpath('lobby')..'/tool.lua')
  13. dofile(minetest.get_modpath('lobby')..'/tdc.lua')
  14. minetest.register_privilege("traitor_dev", {
  15. description = "Can use /td.",
  16. give_to_singleplayer = false,
  17. give_to_admin = true})
  18. minetest.register_privilege("pro_player", {
  19. description = "Completed the tutorial.",
  20. give_to_singleplayer = false})
  21. minetest.register_privilege("builder", {
  22. description = "Can build levels",
  23. give_to_singleplayer = false})
  24. lobby.load()
  25. minetest.register_on_shutdown(lobby.save)