Beispiel #1
0
        /* OnGameInitialize
         *
         * Called once at start
         *
         * */
        private void OnGameInitialize(EventArgs Args)
        {
            SetupDB();

            SPluginApi Api = new SPluginApi(TShock.RestApi, DB);

            Api.RegisterRestfulCommands();
        }
Beispiel #2
0
        /* OnGameInitialize
         *
         * Called once at start
         *
         * */
        private void OnGameInitialize(EventArgs Args)
        {
            SetupDB();

            SPluginApi Api = new SPluginApi(TShock.RestApi, DB);
            Api.RegisterRestfulCommands();
        }