Settings Config

You can find general settings of the plugin in config.yml file.

# MythicTotem by @PQguanfang
#
# READ THE WIKI: mythictotem.superiormc.cn

debug: false

dev-debug: false

language: en_US

cooldown-tick: 5

# Premium version only.
check-prices: true
check-protection:
  can-build: false
  can-break: false
  can-interact: false
  can-use: false

trigger:
  BlockPlaceEvent:
    enabled: true
    require-shift: false
    black-creative-mode: false
  PlayerInteractEvent:
    enabled: false
    require-shift: true
    black-creative-mode: false
  PlayerDropItemEvent:
    enabled: false
    require-shift: false
    black-creative-mode: false
  # Will check end crystal only.
  EntityPlaceEvent:
    enabled: true
    require-shift: false
    black-creative-mode: false
  # This event does not support get the player object, so cooldown-tick option does not effect this trigger.
  # And all actions and conditions that related to player is can not be used.
  # And all placeholders that related to player also can not be used.
  # Otherwise you will get tons of errors on console!!!
  BlockRedstoneEvent:
    enabled: true
  # This event does not support get the player object, so cooldown-tick option does not effect this trigger.
  # And all actions and conditions that related to player is can not be used.
  # And all placeholders that related to player also can not be used.
  # Otherwise you will get tons of errors on console!!!
  # Premium version only.
  BlockPistonEvent:
    enabled: true

Debug

Only enable this if you know what are you doing! It will print tons of debug info on console.

Cooldown Tick

This means totem check system now have a cooldown system for per player, this can avoid server lag if you have much online players.

Bump it to 20+ if you are facing double action issue.

Trigger

What events will be listened to check if a valid totem has been placeed correctly.

For now it has 5 events:

  • BlockPlaceEvent: will be called when players place the block.

  • PlayerInteractEvent: will be called when players click the block.

  • PlayerDropItemEvent: will be called when players drop the item on the block. If you set core block for a totem, player must stand on the center of the core block then drop the item onto the center of the block to active totem.

  • EntityPlaceEvent: will be called when player place ender crystal on the block.

  • BlockRedstoneEvent: will be called when redstone actived (the redstone block actived must be a part of the totem layout). This event does not support get the player object, so cooldown-tick option does not effect this trigger.

  • BlockPistonEvent: will be called when you use piston extend the block, the extened block must be a part of the totem. This event does not support get the player object, so cooldown-tick option does not effect this trigger. Premium version only.

All events except BlockRedstoneEvent have those options:

  • enabled: enable or disable this event trigger feature.

  • require-shift: we only check the totem if player is shifting.

  • black-creative-mode: we only check the totem if player is not in creative game mode.

Last updated