Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
0
Reply
Checking data in .json file, i really need help
Máté Godó
9 years ago
594
Reply
Greetings,
I'm writing a plugin for a game server modification.
Basically the plugin revokes the item dropping right from players if they don't have the bypass permission. The item gets deleted. This worked but I tried to extend the plugin by adding excluded items. The plugin would check if the item ID the player tries to drop is listed in a .json config file. If it is, then said player drops the item. If not listed, then the item gets delete, except if the player has the bypass permission.
The difficulty I'm have is that i don't know how to check the item IDs listed in the .json file.
Another alternative is to leave the .json file and put the allowed item IDs inside the code, but I have no idea how to do this either.
I uploaded the whole folder, with references. If someone could take a look and help me out..I would really appreciate it. (2.6mb)
https://www.mediafire.com/?whzcmyoc06jnzzo
Thanks in advance
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
How to send a message to a Parent Form Status Bar Strip
how to automatic Uplaod Xml file to a server through c#