Skip to content

BP-Essentials v2.5.0

Compare
Choose a tag to compare
@UserR00T UserR00T released this 28 Jun 21:35
· 454 commits to master since this release

Version 2.5.0 - 2018-06-28 | Game Version 0.81

You must recreate/redownload your settings file for this update. (will happen automatically on boot)

Fixed:

  • Fixed issue with announcement interval not updating on reload
  • Fixed some variable naming violations
  • Fixed bug with typing /reload when you just became admin
  • Fixed bug with auto banning someone

Changed:

  • You can use line break (\n, \r\n) in announcements now.
  • Deleted ExecuteOnPlayer.cs, and moved all code to their own file.
  • Changed return type of commands from boolean to void, no idea why we choose boolean in the first case.
  • Argument object oPlayer went to SvPlayer player because there was no need to cast it.
  • Converted CurrentMenu to a enum.
  • Updated ID List.
  • Updated to game version 0.81

Added:

  • /promote [username/id] command. Promotes user to next rank
  • /clear [username/id] command. Clears users inventory
  • /spy command. Spy on all commands users enter.
  • /tpapartment command. teleports to the apartment you provided as argument (eg /tpapartment 10k)
  • You can now block the ban button on the tab menu from getting used (So you can force using the /ban command)
  • Added discord integration! You can now automaticlly log bans in your discord channel along with a reason (Reason can only be added through the /ban command.)
Screenshot

  • You can now whitelist who is allowed to get a specific job! You can check on group, jobindex, and if the player is admin.
    It looks something like this:
"WhitelistedJobs": [
  {
    "JobIndex": 12, // This rule applies to job Spec Ops (jobindex 12 is specops)
    "Whitelist": "jobindex:3, group:VIP, admins" // the user must have:
      // JobIndex 3, or 
      // is in the group VIP, or 
      // is a admin
  }
]
...

Jobs that are left out will be accessible to everyone.
I could understand that this is confusing at first so please contact me on discord with any questions! (Discord: UserR00T#5907)

  • Added a way to blacklist items! People cannot buy the items, but they can still equip them.
  • Godmode now blocks getting crimes and losing EXP! This can be changed in the config.
  • New command handler! EssentialsChat is not static anymore, and commands get loaded by the settings file now.
  • Command list went from Command and Command2 in the settings file to a string array.
    Example:
    {
      "CommandName": "Say",
      "Command": "say",
      "Command2": "broadcast",
      "ExecutableBy": "admins",
      "Disabled": false
    },

Went to

    {
      "CommandName": "Say",
      "Commands": [
             "say",
            "broadcast"
      ],
      "ExecutableBy": "admins",
      "Disabled": false
    },

This is not limited to 2 commands only now.

  • Added debug option to see if all commands get loaded, and when post requests get send.
  • Added variable to indicate if its a pre release and if it should download a different config.