Comments (2)
Sounds nice.
This feature can bring new ways of dividing land between clans. I was already thinking about something like this, because this mod allows you to look at the map of territories. This is currently the main issue I see on my server.
from simple_protection.
@BrunoMine Added a basic API function: d7171b8 and fad4c15
Your territory mod could register a callback as follows:
s_protect.register_on_access(function(pos, player_name, owner_name)
if pos.z > 100 and pos.x < -5000 then
return false -- Only the owner may access
end
if mymod.check_party(player_name, owner_name) and pos.y > 0 then
return true -- Can access this position
end
-- Else: nil. No protection change
end)
from simple_protection.
Related Issues (20)
- Formspec GUI HOT 4
- Maximum number of claims HOT 7
- s_protect.claim_to_dig = true -> server crash HOT 1
- Support parallel running protection mods HOT 5
- Text-like map of surrounding areas HOT 10
- Use mod storage HOT 2
- Shared chests HOT 1
- Use sqlite storage HOT 1
- How I can protect automatically an area for the server HOT 5
- API Documentation HOT 7
- not all the commands / areas worm in the chat window HOT 1
- Move files to a separate folder HOT 2
- Add Mineclone 2 Compatibility HOT 1
- A bit confusing HOT 12
- Can't Check if a Node is in Area Protected by Player Name HOT 2
- /area shareall command not working as intended HOT 1
- Improve Area HUD to show unclaimed areas
- [Q]: How do we handle Spawn? HOT 1
- breaks tnt on entire world HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simple_protection.