• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Mini world changes?

Jfrye

Mapper, trying to learn scripting
Joined
Jan 8, 2009
Messages
366
Solutions
5
Reaction score
86
Location
Mexico Missouri
Are there any scripts out there for mini world changes? If someone could point me in the right direction, that would be awesome. Thanks in advance.
 
Here Rl Data 10.77 https://github.com/orts/server#orts-a-real-map-datapack
/data/globalevents/globalevents.xml
Code:
<!-- World Changes -->
<globalevent name="FuryGates" type="startup" script="worldchanges/furygates.lua" />

/data/globalevents/scripts/worldchanges/furygates.lua
Code:
function onStartup(interval)
    Game.setStorageValue(GlobalStorage.FuryGates, math.random(6))
end
 
Does this "world change" allows to reestructure the map?

For example Nightmare Isles have 3 spawn locations which depends on the day... So if you go to the "location" at Ank; for example; it may be full of sand, like the desert it should be, but other times you will see the mountain, the teleport and the passage.
 
Back
Top