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

    Klakky Naked Wanderer

    From what I heard from a friend his server has been having issues since there is a hack which allows players to go creative, from what I heard its activated by pressing the letter "u"
    My question is, is there any plugin which can detect certain letters being pressed ( I assume not) , so can someone make a plugin like that or is someone currently making one?
    Also might be wrong section, haven't been here for long, if it is I apologize for being a nub ^^
    Last edited: Aug 11, 2016
  2. OpenFunRus

    OpenFunRus Plugin Developer

    The server will not be able to take a creative push buttons, see code:

    Code (Text):
    using System;
    using System.Collections.Generic;

    public class ConsoleCmdCreativeMenu : ConsoleCmdAbstract
        public override void Execute(List<string> _params, CommandSenderInfo _senderInfo)
            GamePrefs.Set(EnumGamePrefs.CreativeMenuEnabled, !GamePrefs.GetBool(EnumGamePrefs.CreativeMenuEnabled));
            SingletonMonoBehaviour<SdtdConsole>.Instance.Output("creativemenu " + (!GamePrefs.GetBool(EnumGamePrefs.CreativeMenuEnabled) ? "off" : "on"));

        public override string[] GetCommands()
            return new string[] { "creativemenu", "cm" };

        public override string GetDescription()
            return "enables/disables the creativemenu";

        public override bool IsExecuteOnClient
                return true;
    If Client modificate Assembly-CSharp.dll, he can not ask the server on or off creative menu. You can detect creative items on player inventory, but Wolf not want add Hook in "SavePlayerData(ClientInfo _cInfo, PlayerDataFile _playerDataFile);"
  3. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    I just haven't gotten to it and lost track of your PM, but thanks for the reminder. ;)