Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

CustomAlerts v1.6

Customize or hide all PocketMine alerts (join/leave messages, etc...)

  1. EvolSoft
    Offline

    EvolSoft Notable Member Plugin Developer

    Joined:
    Sep 10, 2014
    Posts:
    821
    Plugins:
    15
    Minecraft User:
    Flavius12
    I'll add it ;)
  2. MCPEPIG
    Offline

    MCPEPIG Notable Member

    Joined:
    Jun 22, 2014
    Posts:
    349
    Minecraft User:
    MCPEPIG
    Can you add customizing the message that gets sent to a player when they get killed by /kill?
  3. EvolSoft
    Offline

    EvolSoft Notable Member Plugin Developer

    Joined:
    Sep 10, 2014
    Posts:
    821
    Plugins:
    15
    Minecraft User:
    Flavius12
    I don't know if it's possible because the /kill command sends directly the message
  4. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17
    I think you have to catch the "PlayerDeathEvent" and do "setDeathMessage" on it.
  5. MCPEPIG
    Offline

    MCPEPIG Notable Member

    Joined:
    Jun 22, 2014
    Posts:
    349
    Minecraft User:
    MCPEPIG
    You forgot the Killed by a Cactus message
  6. EvolSoft
    Offline

    EvolSoft Notable Member Plugin Developer

    Joined:
    Sep 10, 2014
    Posts:
    821
    Plugins:
    15
    Minecraft User:
    Flavius12
    Oh xD
    I'll add all messages of all causes available in PM API :)
    dxm_hippie likes this.
  7. dxm_hippie
    Offline

    dxm_hippie Active Member Plugin Developer

    Joined:
    Feb 1, 2015
    Posts:
    413
    Plugins:
    1
    Minecraft User:
    XxDXM_hippiexX
    so I found out this dont play well with combatlogger either /: crashes every now and then, doesn't even seem repeatable. Wish I could give more info, want the crash dump? also I figured out how to disable join/leave in essentialspe..at what cost? idk..runs fine lol I am not a dev but somehow figured it out :p

    edit.. so this is what the error on the console was

    Fatal error: Call to a member function getCause() on null in phar:///home/plugins/CustomAlerts_v1.1.phar/src/CustomAlerts/EventListener.php on line 79

    im guessing that it cant recognize the type of death created by combatlogger? but it dont happen every time someone dies from combatlogging, soo idk lol
    Last edited: Apr 7, 2015
  8. EvolSoft
    Offline

    EvolSoft Notable Member Plugin Developer

    Joined:
    Sep 10, 2014
    Posts:
    821
    Plugins:
    15
    Minecraft User:
    Flavius12
    Hmm...
    Yes, I think this is the problem
  9. SempakBolong
    Offline

    SempakBolong New Member

    Joined:
    Mar 8, 2015
    Posts:
    6
    Minecraft User:
    SempakBolong
    Hi, I got this crash dump. I think, your plugin have an error. Can you fix it? Because it always crash my server every 6 hours...

    Attached Files:

  10. EvolSoft
    Offline

    EvolSoft Notable Member Plugin Developer

    Joined:
    Sep 10, 2014
    Posts:
    821
    Plugins:
    15
    Minecraft User:
    Flavius12
    Ok, I'll fix this bug as soon as possible ;)
    Thank you for your report :)
  11. dxm_hippie
    Offline

    dxm_hippie Active Member Plugin Developer

    Joined:
    Feb 1, 2015
    Posts:
    413
    Plugins:
    1
    Minecraft User:
    XxDXM_hippiexX
    Thank you for the update! working nicely, just &c{KILLER} isn't getting the killers name. It shows (playername was killed my {KILLER}) the victims name is right just not the killer.
  12. dxm_hippie
    Offline

    dxm_hippie Active Member Plugin Developer

    Joined:
    Feb 1, 2015
    Posts:
    413
    Plugins:
    1
    Minecraft User:
    XxDXM_hippiexX
    Also the shot by a bow one says "Unknown" for the killer /: that might be my goof up in the config tho
  13. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17
    When somebody is killed by an arrow, the damaging entity is the arrow. The arrow itself does not carry any information on who was the shooter.
  14. EvolSoft
    Offline

    EvolSoft Notable Member Plugin Developer

    Joined:
    Sep 10, 2014
    Posts:
    821
    Plugins:
    15
    Minecraft User:
    Flavius12
    Sorry I published the test update xD
    Wait the new update and everything will work :)
    Mat likes this.
  15. dxm_hippie
    Offline

    dxm_hippie Active Member Plugin Developer

    Joined:
    Feb 1, 2015
    Posts:
    413
    Plugins:
    1
    Minecraft User:
    XxDXM_hippiexX
    Ok, i just set custom to false for now.
  16. SempakBolong
    Offline

    SempakBolong New Member

    Joined:
    Mar 8, 2015
    Posts:
    6
    Minecraft User:
    SempakBolong
    And also, don't forget to add support for UTF-8 like • ♥ ♠ etc.. :). because in older version it support UTF-8, in this version it will disable the plugin automatically -,- . Keep the good work buddy ! :)
  17. EvolSoft
    Offline

    EvolSoft Notable Member Plugin Developer

    Joined:
    Sep 10, 2014
    Posts:
    821
    Plugins:
    15
    Minecraft User:
    Flavius12
    It depends from PocketMine and from the YAML configuration parser.
    UTF-8 should be already supported
  18. EvolSoft
    Offline

    EvolSoft Notable Member Plugin Developer

    Joined:
    Sep 10, 2014
    Posts:
    821
    Plugins:
    15
    Minecraft User:
    Flavius12
  19. EvolSoft
    Offline

    EvolSoft Notable Member Plugin Developer

    Joined:
    Sep 10, 2014
    Posts:
    821
    Plugins:
    15
    Minecraft User:
    Flavius12
    This is the right update :D
    Now everything should work ;)
    dxm_hippie likes this.
  20. XDF
    Offline

    XDF New Member

    Joined:
    Jul 18, 2014
    Posts:
    24
    Minecraft User:
    brave
    19:13:47 [CRITICAL] Could not pass event pocketmine\event\entity\EntityLevelChangeEvent to CustomAlerts v1.2: Undefined variable: player on CustomAlerts\EventListener
    19:13:47 [NOTICE] UndefinedVariableException: "Undefined variable: player" (E_NOTICE) in "/CustomAlerts_v1.2.phar/src/CustomAlerts/EventListener" at line 144

Share This Page

Advertisement