Find a file
Tenkuma 9b98d8a2a9
Add project status and documentation notice
Added important project status notice and documentation update info.
2025-12-10 01:42:15 -03:00
gradle/wrapper First commit. 2025-12-03 15:02:05 -03:00
src/main Refactored policy system, fixed config file parsing inconsistencies. 2025-12-08 17:19:06 -03:00
.gitignore Removed build artifacts from repo tree. + Hotfix of useEnchantment not ignoring items with no meta on whitelist mode. 2025-12-08 13:23:05 -03:00
build.gradle Refactored policy system, fixed config file parsing inconsistencies. 2025-12-08 17:19:06 -03:00
gradle.properties First commit. 2025-12-03 15:02:05 -03:00
gradlew First commit. 2025-12-03 15:02:05 -03:00
gradlew.bat First commit. 2025-12-03 15:02:05 -03:00
LICENSE Add MIT License to the project 2025-12-07 00:11:30 -03:00
README.md Add project status and documentation notice 2025-12-10 01:42:15 -03:00
settings.gradle Refactored policy system, fixed config file parsing inconsistencies. 2025-12-08 17:19:06 -03:00

Important

This project is in a very early stage, expect bugs until Release 1.0.

Documentation will soon be moved from README.md.

Eye of Nemesis

Eye of Nemesis is a plugin that allows server admins to write policies that will deny or allow (black/whitelist) players to do specific things based on the value of nodes.

Warnings

  • Even though running /eye will tell you to run /eye help to list all available commands, this is not implemented yet, however all commands are available as tab-complete of /eye.
  • This plugin is in a very early stage.

Policies

Policy is a structure that holds nodes and tell them where to act. For example, a Location policy will tell its child nodes that they work from coordinates x1 y1 z1 to x2 y2 z2.

Currently, the only policy type is Location.

Nodes

Nodes are specific rules that rely on it's value to know when to act. For example, a useItem policy with value cookie will prevent users from doing anything with a cookie.

useItem

Triggered: breaking/placing/interacting with anything using this item.

Expects: list of strings.

useEnchantment

Triggered: breaking/placing/interacting with anything using an item with the specified enchantment, will allow items without enchantment even on allowlist mode.

Expects: map of string: string.

attackWith

Triggered: attacking with this item in hand.

Expects: list of strings.

Performance

This plugin is not scalable as it is and will run unoptimized checks when your players do certain things in the server if you have policies enabled, I made it for a server with a few friends.

For every policy there's a check, for every matching policy there are its child nodes, each one introducing new checks. Keep that in mind.