Coder Social home page Coder Social logo

miha22 / itemrestrictor Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 3.88 MB

Written from scratch a custom plugin. Blacklist some IDs in configuration file to restrict spawn them with /i /v. Project uses Rocket Mod 4.9.3.0

License: GNU General Public License v3.0

C# 100.00%

itemrestrictor's People

Contributors

miha22 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

educatalan02

itemrestrictor's Issues

Errors out for some items for some reason

Log:

[07.08.2019 22:07:01] [Info] [Area] [Player] BiiiRD!!! [◄ℬÍĨÍℛᗫ► TRADEIT.GG]: "/v 844"
[07.08.2019 22:07:11] [Error] An error occured while executing v [844]: System.NullReferenceException: Object reference not set to an instance of an object
  at ItemRestrictor.CommandV.Execute (Rocket.API.IRocketPlayer caller, System.String[] command) [0x0016e] in <927feb73344440cb811348c0f2c3f81d>:0 
  at Rocket.Core.Commands.RocketCommandManager+RegisteredRocketCommand.Execute (Rocket.API.IRocketPlayer caller, System.String[] command) [0x00000] in <e897f45c5c654e3ea071255fe5aed0d5>:0 
  at Rocket.Core.Commands.RocketCommandManager.Execute (Rocket.API.IRocketPlayer player, System.String command) [0x00176] in <e897f45c5c654e3ea071255fe5aed0d5>:0 
[07.08.2019 22:07:11] [Info] [Area] [Player] BiiiRD!!! [◄ℬÍĨÍℛᗫ► TRADEIT.GG]: "/v 845"
[07.08.2019 22:07:27] [Error] An error occured while executing v [845]: System.NullReferenceException: Object reference not set to an instance of an object
  at ItemRestrictor.CommandV.Execute (Rocket.API.IRocketPlayer caller, System.String[] command) [0x0016e] in <927feb73344440cb811348c0f2c3f81d>:0 
  at Rocket.Core.Commands.RocketCommandManager+RegisteredRocketCommand.Execute (Rocket.API.IRocketPlayer caller, System.String[] command) [0x00000] in <e897f45c5c654e3ea071255fe5aed0d5>:0 
  at Rocket.Core.Commands.RocketCommandManager.Execute (Rocket.API.IRocketPlayer player, System.String command) [0x00176] in <e897f45c5c654e3ea071255fe5aed0d5>:0 
[07.08.2019 22:07:27] [Info] [Area] [Player] BiiiRD!!! [◄ℬÍĨÍℛᗫ► TRADEIT.GG]: "/v 1800"
[07.08.2019 22:07:45] [Error] An error occured while executing v [1800]: System.NullReferenceException: Object reference not set to an instance of an object
  at ItemRestrictor.CommandV.Execute (Rocket.API.IRocketPlayer caller, System.String[] command) [0x0016e] in <927feb73344440cb811348c0f2c3f81d>:0 
  at Rocket.Core.Commands.RocketCommandManager+RegisteredRocketCommand.Execute (Rocket.API.IRocketPlayer caller, System.String[] command) [0x00000] in <e897f45c5c654e3ea071255fe5aed0d5>:0 
  at Rocket.Core.Commands.RocketCommandManager.Execute (Rocket.API.IRocketPlayer player, System.String command) [0x00176] in <e897f45c5c654e3ea071255fe5aed0d5>:0 
[07.08.2019 22:07:45] [Info] [Area] [Player] BiiiRD!!! [◄ℬÍĨÍℛᗫ► TRADEIT.GG]: "/v 180"
[07.08.2019 22:07:53] [Info] ItemRestrictor >> Giving [Player] BiiiRD!!! vehicle 180
[07.08.2019 22:07:53] [Info] [Area] [Player] BiiiRD!!! [◄ℬÍĨÍℛᗫ► TRADEIT.GG]: "/v 179"
[07.08.2019 22:08:06] [Info] ItemRestrictor >> Giving [Player] BiiiRD!!! vehicle 179

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.