Disable Items To Sell

Mr. Trivel

Glasses
Veteran
Joined
Jun 9, 2014
Messages
284
Reaction score
460
First Language
Lithuanian
Primarily Uses
Name: Disable Items To Sell


Version: 1.0


Author: Mr. Trivel


Created: 2016-04-21


 


What does it do?


Disables specific items or groups of items from being sold in shops.


 


Video:










 


How to use?



Everything is managed using plugin commands:



To disallow specific items from being sold use the following commands group:


ItemLock Disable Item ID (ID) 


ItemLock Disable Weapon ID (ID)


ItemLock Disable Armor ID (ID)


For plugin commands above, if you specify 2nd ID, it'll disable all items in


that range. 2nd ID is optional.


E.g.: ItemLock Disable Item 10 13 will disable items with IDs 10, 11, 12, 13.


 


To allow specifically disabled items to be sold again use this commands group:


ItemLock Enable Item ID (ID)


ItemLock Enable Weapon ID (ID)


ItemLock Enable Armor ID (ID)


For plugin commands above, if you specify 2nd ID, it'll enable all items in


that range. 2nd ID is optional.


E.g.: ItemLock Enable Armor 5 9 will disable armors with IDs 5, 6, 7, 8, 9.


 


To quickly clear all specifically disabled items, use the following group:


ItemLock Clear Items


ItemLock Clear Weapons


ItemLock Clear Armors


ItemLock Clear All


 


To disable/enable whole groups of items to be sold use the following groups:


ItemLock Disable All Items


ItemLock Disable All Weapons


ItemLock Disable All Armors


 


ItemLock Enable All Items


ItemLock Enable All Weapons


ItemLock Enable All Armors





 



Plugin: <Link: Github>


How to download Plugin. Click the link above, there will be a button named Raw, press Right Click -> Save As.


 




Terms of Use:


Don't remove the header or claim that you wrote this plugin.


Credit Mr. Trivel if using this plugin in your project.


Free for commercial and non-commercial projects.
 

Vallix

Warper
Member
Joined
Dec 26, 2015
Messages
1
Reaction score
0
First Language
English
This mod is exactly what I need for my project, however I cannot get single ID's or ranges for weapons or armor to work (the syntax works correctly for all items/weaps/armor and single items). Am I missing something?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

i watched the sonic movie it was pretty good i hope they make a sequel
tomorrow I'ma go on a cruise for the first time ever... lets hope I'll survive the experience!
Omg! 8 years in this forum :o
Ksi
Streaming the last of the RMN Valentiny event games so feel free to drop on by and watch me cry (whether that's from laughter, rage or sheer pain, who knows?)
Today I went to sleep without setting an alarm, so I could sleep more than 2 hours. I woke up after 2 hours.

Forum statistics

Threads
94,309
Messages
919,827
Members
124,060
Latest member
jloppnow
Top