your current location:首页 > news>Minecraftwordguard plug -in blacklist function tutorial

Minecraftwordguard plug -in blacklist function tutorial

2024-12-17 06:04:23|Myriagame |source:minecraft skins

Blacklists can prohibit players from doing something. This is some situation:

Forbidden players from digging in gold mines

Notify all administrators when you find a diamond

Tell the player some things when you place the enchanting table

This is an example configuration:

# DENY LAVA BUCKETS [LAVABUCKET] IGNORE-GROUPS = Admins, MODSON-Use = Deny, Tellmessage = Sorry, you can'T user lava buckets!# Re, Ironore] IGNORE-founds = adminson-block= DENY, Tell, Notify# No TNT! [TNT] IGNORE-GROUPS = Adminson-Place = Deny, Notify, Kick 

There will be configuration files in each world

[*] Worlds/World/BlackList.txt

[*] Worlds/World_nether/BlackList.txt

[*] Worlds/Mining_WORLD/BLACKList.txt

This is the format

 [a list of items/blocks to match] Event to watch = what to doEVENT to watch = What to doch = what to dooption = value 
is a comment line

You can use ID and name: [Wood, Brick, Glass]

Can increase the data value: [wood: 0]

Multi -data values; separate Multiple Data Values ​​can be matched by selecting each one with a semicolon (;): [wood: 0; 2; 3]

You can also use range: [wood: 2-3]

It can be used greater than or equal to [wood:> = 2, <= 3]

You can also do this: [wood: 0;> = 2, grass: 1-2]

event

 On-Breakon-Withon-Placeon-Interacton-Dropon-ACQUIREON-DISPENSE 

action

 DENYALLOWNOFYLOGTELLLKKKBAN 

Option

 IGNORE-GROUPSIGNORE-PERMSCOMENTMESSAGE 

Exemplary example

 [lavabucket, waterbucket, bucket] on-user = DENY, TELL [tNT] iGnore-g s, obSidianon-Place = Deny, Tellon-bream = Deny, tell 

Record parameters: console file database

Console: console

File file

%Y the year (yyyy)

%m the month (mm)

%d the day (dd)

%W the week of the year (00-52)

%H 24-Hour Time (HH)

%H 12-Hour Time (HH)

%I The Minute (MM)

%s the second (ss)

%user ’s name

%% Translates to a Single Percent Sign "%" available variables

database

Exemplary example

 Create Table If Not Exists `Blacklist_Events` (` ID` int (11) not null auto_increment, `world` varchar (10) not null,` event` varchar (25) not null, `player `varchar (16)Not null, `x` int (11) not null,` y` int (11) not null, `z` int (11) not null,` item` int (11) not null, `time` int (11)Not null, `Comment` Varchar (255) default null, Primary Key (` ID`));