Skip to content

Techwizz-somboo/Player-Ban-On-Death

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Player-Ban-On-Death

TrinityCore (WoW) script to ban player on upon dying

To add this to your server, follow these instructions:

  • Download the script.
  • Place it in the directory TrinityCore/src/server/scripts/Custom.
  • Open your custom_script_loader.cpp in the same directory (Custom) then where you see // This is where scripts' loading functions should be declared: add (under it) void AddSC_Player_Ban_On_Death();.
  • Where it says void AddCustomScripts() { add AddSC_Player_Ban_On_Death();.
  • Open CMakeLists.txt (TrinityCore/src/server/scripts/CMakeLists.txt) Where it says (Around line 245) ${scripts_STAT_SRCS} Add Custom/Player_Ban_On_Death.cpp
  • Recompile your server. That should be all. Enjoy!

For my level reset script as an alternative to this script, go here https://github.com/Techwizz-somboo/Player-Level-Reset-On-Death-TrinityCore

See it in action! https://youtu.be/UTZfX5QIaDM

About

TrinityCore (WoW) script to ban player on upon dying

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages