Logger Configuration
Here are furhter informations on logger configuration.
Syntax
log_block=1+&sample+50@70
group_sample=3+9@12
Will create a log called "block" where event with id 1,3,9,10,11,12,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70 will be logged
To create a log, make a new line, fills it like that log_yourLogName=yourEvents
To add events to log after the '=' place id of the events. ( Examples : log_sample=5 For multiple events add some '+' log_sample2=5+6+7+8+9)
To make a suite of events use this : minID@maxID ( Example : log_sample3=51+1@10 It's equal to 51+1@10=51+1+2+3+4+5+6+7+8+9+10 )
To create groups of events use group_ instead of log_. You can call groups of events by writing their name with a '&' before and without the group_.
Permissions
You will be able to avoid ( with permissions ) some events for some players to be logged. It will work like that :
ul.avoid.event id or group of events
To avoid to log every event due to a player grants him the permission : ul.avoid.*
Block Events
id | event | information |
---|---|---|
1 | BlockBreakEvent | Called when a block is broken by a player. |
2 | BlockBurnEvent | Called when a block is destroyed as a result of being burnt by fire. |
3 | BlockDispenseEvent | Called when an item is dispensed from a block. |
4 | BlockFadeEvent | Called when a block fades, melts or disappears based on world conditions example: Snow melting. |
5 | BlockFormEvent | Called when a block is formed or spreads based on world conditions. |
6 | BlockGrowEvent | Called when a block grows naturally in the world. |
7 | BlockIgniteEvent | Called when a block is ignited. |
8 | BlockPlaceEvent | Called when a block is placed by a player. |
9 | BlockSpreadEvent | Called when a block spreads based on world conditions. |
10 | EntityBlockFormEvent | Called when a block is formed by entities. |
11 | SignChangeEvent | Called when a sign is changed by a player. |
73 | BlockRedstoneEvent | Called when a block is powered by redstone. |
Chat Events & Command Events
id | event | information |
---|---|---|
69 | PlayerChatEvent | Called when a player sends a message in the chat. |
70 | PlayerCommandEvent | Called when a player performs a command. |
Craft Events
id | event | information |
---|---|---|
12 | BrewEvent | Called when an ItemStack is succesfully brewed. |
13 | CraftItemEvent | Called when an ItemStack is successfully crafted. |
14 | FurnaceSmeltEvent | Called when an ItemStack is successfully smelted in a furnace. |
15 | EnchantItemEvent | Called when an ItemStack is successfully enchanted (currently at enchantment table) |
Entity Events
id | event | information |
---|---|---|
16 | CreaturesSpawnEvent | Called when a creature is spawned into a world. |
17 | CreeperPowerEvent | Called when a Creeper is struck by lightning. |
18 | EntityBreakDoorEvent | Called when an Entity breaks a door. |
19 | EntityChangeBlockEvent | Called when any Entity, excluding players, changes a block. |
20 | EntityCombustEvent | Called when an entity combusts. |
21 | EntityCreatePortalEvent | Thrown when a Living Entity creates a portal in a world. |
22 | EntityDamageEvent | Called when an entity is damaged. |
23 | EntityDeathEvent | Thrown whenever a LivingEntity ( non-player ) dies. |
24 | EntityExplodeEvent | Called when an entity explodes. |
25 | EntityInteractEvent | Called when an entity interacts with an object. |
26 | EntityPortalEnterEvent | Called when an entity comes into contact with a portal. |
27 | EntityTameEvent | Thrown when a LivingEntity is tamed. |
28 | EntityTeleportEvent | Thrown when a non-player entity (such as an Enderman) tries to teleport from one location to another. |
29 | ExpBottleEvent | Called when a ThrownExpBottle hits and releases experience. |
30 | ExplosionPrimeEvent | Called when an entity has made a decision to explode. |
31 | FoodLevelChangeEvent | Called when a human entity's food level changes. |
32 | ItemSpawnEvent | Called when an item is spawned into a world. |
Inventory Events
id | event | information |
---|---|---|
33 | InventoryOpenEvent | Called when a player open an inventory ( could be a chest ). |
34 | InventoryCloseEvent | Called when a player closes an inventory ( could be a chest ). |
35 | InventoryClickEvent | Called when a player transfers an item. |
Player Events
id | event | information |
---|---|---|
36 | PlayerLoginEvent | Called when a player try to login. |
37 | PlayerBedEnterEvent | Called when a player enters a bed. |
38 | PlayerBedLeaveEvent | Called when a player leaves a bed. |
39 | PlayerBucketEmptyEvent | Called when a player empties a bucket. |
40 | PlayerBucketFillEvent | Called when a a player fills a bucket. |
41 | PlayerChangedWorldEvent | Called when a player change of world. |
42 | PlayerDropItemEvent | Thrown when a player drops an item from their inventory. |
43 | PlayerEggThrowtEvent | Called when a player throws an egg and it might hatch. |
44 | PlayerExpChangeEvent | Called when a players experience changes naturally. |
45 | PlayerGameModeChangeEvent | Called when a player change of gamemode. |
46 | PlayerItemBreakEvent | Fired when a player's item breaks (such as a shovel or flint and steel). |
47 | PlayerJoinEvent | Called when a player joins a server |
48 | PlayerKickEvent | Called when a player gets kicked from the server. |
49 | PlayerLevelChangeEvent | Called when a player's level changes. |
50 | PlayerPickupItemEvent | Thrown when a player picks an item up from the ground. |
51 | PlayerPortalEvent | Called when a player is about to teleport because it is in contact with a portal. |
52 | PlayerQuitEvent | Called when a player leaves a server. |
53 | PlayerRespawnEvent | Called when a player respawn. |
54 | PlayerTeleportEvent | Called when a player is teleported. |
55 | PlayerToggleFlightEvent | Called when a player toggles their flying state. |
56 | PlayerToggleSneaklEvent | Called when a player toggles their sneaking state. |
57 | PlayerToggleSprintEvent | Called when a player toggles their sprinting state. |
58 | PlayerDeathEvent | Called when a player leaves a server. |
71 | PlayerInteractEvent | Called when a player interacts with an object or air. |
72 | PlayerFishEvent | Thrown when a player is fishing. |
Vehicle Events
id | event | information |
---|---|---|
59 | VehicleCreateEvent | Called when a vehicle is created. |
60 | VehicleDestroyEvent | Called when a vehicle is destroyed. |
61 | VehicleEnterEvent | Called when an entity enters a vehicle. |
62 | VehicleExitEvent | Called when an entity exits a vehicle. |
Weather Events
id | event | information |
---|---|---|
63 | LightningStrikeEvent | Called when the lightning strikes. |
64 | ThunderChangeEvent | Called when thunder start or stop. |
65 | WeatherChangeEvent | Called when rain start or stop. |
World Events
id | event | information |
---|---|---|
66 | PortalCreateEvent | Called when a portal is created. |
67 | SpawnChangeEvent | An event that is called when a world's spawn changes. |
68 | StructureGrowEvent | Event that is called when an organic structure attempts to grow (Sapling -> Tree), (Mushroom -> Huge Mushroom), naturally or using bonemeal. |
For further information, i will be available on IRC ( soon available )
Comments