1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Another request, staffchat and reports

Discussion in 'Requests' started by TehNeon, Aug 7, 2020.

  1. TehNeon

    TehNeon Silverfish

    Messages:
    16
    I know this request and my other request is a lot to ask for, and Im fine if it takes a while, but could you make an advanced staffchat and reports plugin?
    I would like staffchat to be fully customizable, including a prefix to speak in staffchat with, (for example if a staff says this in kitpvp: # hello would go in staffchat like [kitpvp] staff: Hello)
    Could it have the following features:
    {world} will show the world the staff member is in
    {name} the name of the staff member
    {message} the staffchat message
    Could the format of staffchat be fully customizable too? TY!

    Reports: /report {player} {reason}
    Lets say they reported someone when they were in kitpvp
    How it would come up in staffchat: [kitpvp] {PLAYER} reported {HACKER} for {reason}
    that message would be sent to all staff

    Thanks very much for anyone who decides to make this :)
     
  2. TehNeon

    TehNeon Silverfish

    Messages:
    16
    dont know why it was strikethrough
     
  3. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    wtf, why is it strike? o_Oo_Oo_O:facepalm::facepalm:
     
  4. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    you want staff chat?
    search it on git hub & youtube there is more than 10 plugin for staff chat || report
     
  5. TehNeon

    TehNeon Silverfish

    Messages:
    16
    None of which have the support of the {world} tag which shows where the staf member is located
     
  6. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    just edit the StaffChat (by Thunder) edit prefix (nameTag) in the plugin to (World Name) and done.

    Code to do it:
    PHP:
    $level $player->getLevel()->getFolderName(); //getting name of level / map

    //you should find 
    publuc function onChat(PlayerChatEvent $event) {}

    //now search to see where is set Player name tag to (Staff) and set 
    {$level
    //instead (Staff) and its done
    Solved?
     
  7. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    By this toturial, you can set staff world name to chat, if you didnt underestand, there isnt any plugin to show player/staff world name in to his/her name in chat
     
  8. TehNeon

    TehNeon Silverfish

    Messages:
    16
    i cand edit plugins directly
     
  9. TehNeon

    TehNeon Silverfish

    Messages:
    16
    ehh i can do without
     
  10. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    there is a programms called IDE to use :facepalm:
     
  11. Diduhless

    Diduhless Baby Zombie

    Messages:
    199
    GitHub:
    Diduhless
    You could use my reports plugin https://github.com/Diduhless/Reports
    The permission to see the report logs is reports.logs.

    Also what is 'kitpvp'? Is it a gamemode, a world name?
     
    Primus likes this.
  12. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    where is it
     
  13. TehNeon

    TehNeon Silverfish

    Messages:
    16
    world name
     
  14. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    use my code ( i gave you a bove)
     
  15. ethaniccc

    ethaniccc Baby Zombie

    Messages:
    189
    GitHub:
    ethaniccc
    This is a request thread, not a development thread
     
    Diduhless likes this.
  16. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    correct, but he can do that easily
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.