Skip to content
This repository was archived by the owner on Mar 22, 2021. It is now read-only.

Adding new items

Nexd edited this page Oct 16, 2019 · 5 revisions
name uname type value case_id grade chance
Appears in the roll, chat messages Required for the plugin to identify the item somehow. module type Integer if the handler valuetype is true, string otherwise Put the item into this case (case_cases table) Grade name for the item (case_cases grades) Chance in float, between 0.00000001-1.0

Core modules for store: (As value for the "type" column)

  • store.trail
  • store.playerskin
  • store.pet
  • store.paintball
  • store.hats
  • store.aura
  • store.grenadetrail
  • store.grenadeskin
  • store.lasersight
  • store.tracer

If you want to create your own module, take a look there: https://github.com/KillStr3aK/caseopening/wiki/Creating-new-modules

If you're want to put more store item, firstly edit your items.txt and add "unique_id" for EVERY item you want to use in the case (And hopefully you've got the module for the item) then add the item unique id to the item value

If its not clear for you, just check the default install values.

Clone this wiki locally