update .conf and [pvpbutton], [caverealms]fix crash

master
elite 2017-07-21 19:00:43 -04:00
parent 89fefa77db
commit 6bbbdf0867
3 changed files with 10 additions and 9 deletions

View File

@ -3,14 +3,14 @@ name = cessna151
################Server#####################
#
server_announce = false
server_name = UGX Realms
server_description = temp server for testing
server_name = UGX Realms (AMHI Inspired remake)
server_description = A survival server based on the old AMHI server, but with several improvements and new features.
server_address = minetestservers.ddns.net
server_url =
max_users = 30
port = 33151
remote_port = 33151
motd = TBD............................................................
motd = Welcome to UGX Realms! Please read the rules before your adventure begins.
disallow_empty_password = true
num_emerge_threads = 4 #increase for faster mapgen
server_unload_unused_data_timeout = 19
@ -28,7 +28,7 @@ name_restrictions.pronounceability = # nil=disabled, 0=everything blocked, .5=s
#################Game##################
#
#crops.difficulty = This setting is actually located in /worldmods/crops/crops_settings.txt
movement_speed_fast = 35
movement_speed_fast = 30
item_entity_ttl = 150 #dropped item expire...
share_bones_time = 1800
share_bones_time_early = 0 #If player dies in protected area... (0=disabled)

View File

@ -536,14 +536,15 @@ minetest.register_node("caverealms:constant_flame", {
if pos.y > DM_TOP then
minetest.remove_node(pos)
end
if not (minetest.get_modpath("moontest")) then
fire.on_flame_add_at(pos)
end
-- Disabled to prevent crash
-- if not (minetest.get_modpath("moontest")) then
-- fire.on_flame_add_at(pos)
-- end
end,
after_dig_node = function(pos, oldnode, oldmetadata, digger)
if not (minetest.get_modpath("moontest")) then
fire.on_flame_remove_at(pos)
minetest.remove_node(pos)
end
end,
})

View File

@ -1,7 +1,7 @@
-- Needed variables
local pvptable = {}
local huds = {}
local toggle_interval = 5 * 60
local toggle_interval = 2 * 60
-- Inventory mod determination
local inv_mod = ""