jonathan-robertson / lcb-remote Goto Github PK
View Code? Open in Web Editor NEW7 Days to Die mod: Add admin tools and a craftable remote control to turn on/off land claim block boundaries.
License: MIT License
7 Days to Die mod: Add admin tools and a craftable remote control to turn on/off land claim block boundaries.
License: MIT License
check the current activation state of the lcb you are within range of
It seems this would be possible due to how the following code works.
From what I gather, it's caching a modified flag for any offline chunks.
protected virtual void setModified()
{
// ...
if (SingletonMonoBehaviour<ConnectionManager>.Instance.IsServer)
{
this.SetChunkModified();
SingletonMonoBehaviour<ConnectionManager>.Instance.SendPackage(NetPackageManager.GetPackage<NetPackageTileEntity>().Setup(this, TileEntity.StreamModeWrite.ToClient, byte.MaxValue), true, -1, -1, -1, -1);
}
// ...
}
public void SetChunkModified()
{
if (SingletonMonoBehaviour<ConnectionManager>.Instance.IsServer && this.chunk != null)
{
this.chunk.isModified = true;
}
}
toggle debug logging mode
Activate lcb area frame for the lcb you are within range of (only the lcb owner will see it)
deactivate lcb area frame for the lcb you are within range of
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.