AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CSGO] Case Opening(1.4.0b) UPDATED 20th feb. 2022 (https://forums.alliedmods.net/showthread.php?t=334527)

kratoss1812 10-01-2021 14:13

[CSGO] Case Opening(1.4.0b) UPDATED 20th feb. 2022
 
FOR SUPPORT JOIN MY DISCORD: https://discord.gg/ndhn6nH5Hn

I started working on this over a year ago at this ideea but never ever finished it because I thought it was a dumb ideea. However, lately this type of plugin became more and more popular among CSGO servers and some people took advantage and started selling private case opening plugins, without giving the source-code. That's why I want to release and keep working on this project, so nobody needs to install a plugin on their game server without having acces to the sourcecode.

## Description
This plugin provides a fresh way of getting server-sided Valve weapon skins by "opening" them for so-called Cases. If you play CSGO I assume you are familliar with the "!ws" command. With this plugin you can equip skins only after you have opened them from the cases.

## Features
  • Open delay.
  • Fully customizable weapon skins from config files, no need to compile the source-code ever.
  • Translations support.
  • "Preview case" feature that allows you to see the content of a case before opening it.
  • MySQL inventory system that holds every opened item.
  • Quick Sell feature - Instantly sell your skins for credits
  • Toggle StatStrack - Pay to toggle ON/OFF StatTrack feature for a weapon.
  • Random Pattern - Pay to get a random Seed(Pattern) for a weapon skin.
  • Set a float - Pay to set a float for a weapon.
  • Set a nametag - Pay to set a nametag for a weapon.
  • Buy skins with credits - Buy the skin you want instead of opening it.
  • Modify prices of the features above with convars.
  • Match end drops.
  • Natives for developers
  • Gloves support
  • Auto config generator
  • Shop Core support for balance. [NEW in 1.0.8b]
  • Store by Zephyrus support for balance. [NEW in 1.0.8b]

## Commands
  • "sm_cases_addcash" - Gives or takes(if the value is negative) credits from players
  • "sm_cases_givecredits" - Gives or takes(if the value is negative) credits from players
  • "sm_case" - Opens the main case opening menu
  • "sm_cases" - Opens the main case opening menu
  • "sm_cs" - Opens the main case opening menu

## Requirements
  • My Weapons FORK.
  • My Gloves FORK (Found in the arhive from the direct download and in the GitHub Repository). [NEW in 1.0.6b]
  • PTaH.

## Download
You can just drag&drop the plugin and make the changes said bellow, it comes pre-configured with configs and all.
GitHub Rep | Source-Code Direct Download | Source-Core | FULL PLUGIN DIRECT DOWNLOAD

## How to install
  • Download the latest version of GitHub.
  • Drag & Drop the content from the archive into your server files
  • Add "case_opening" configuration in sourceomod/configs/database.cfg

## Future plans
  • G̶l̶o̶v̶e̶s̶ ̶s̶u̶p̶p̶o̶r̶t̶ (Added in 1.0.6b)
  • N̶a̶t̶i̶v̶e̶s̶ (Added in 1.0.6b)
  • Agents support.
  • Trade system.
  • Better customization (there are still some things hard-coded but shouldn't matter).
  • Bug fixes if any.
  • S̶h̶o̶p̶ ̶C̶o̶r̶e̶ ̶/̶ ̶S̶t̶o̶r̶e̶ ̶b̶y̶ ̶Z̶e̶p̶h̶y̶r̶u̶s̶ ̶s̶u̶p̶p̶o̶r̶t̶.̶ (Added in 1.0.8b)
  • M̶a̶t̶c̶h̶ ̶e̶n̶d̶ ̶d̶r̶o̶p̶s̶.̶ (Added in 1.0.5b)

## ConVars
Every convar can be found in "csgo/cfg/sourcemod/case_opening_kratoss.cfg" (auto-created). The plugin supports mid-game convar changes so feel free to experiment.
Code:

"sm_cases_float_price" - Price for setting a float for a weapon.
"sm_cases_seed_price" - Price for rolling a random seed(pattern) for a weapon.
"sm_cases_statrack_price" - Price for toggling StatTrack for a weapon.
"sm_cases_nametag_price" - Price for setting a nametag on a weapon.
"sm_cases_kill_reward" - How many credits does a player gets for a kill.
"sm_cases_drops_enabled" - Enable match end drops?
"sm_cases_drops_chance" - Drop percentage for each player. 100 = Everyone gets a drop.
"sm_cases_cmds_override" - Open !cases menu when players use !ws, !knife, !glove, commands?
"sm_cases_allow_buy_skins" - Allow players to buy skins?
"sm_cases_allow_buy_gloves" - Allow players to buy gloves?
"sm_cases_allow_quick_sell" - Allow players to quick sell skins and gloves?
"sm_cases_balance_mode" - Balance mode. 0 = Plugin's custom balance. 1 = Shop Core balance. 2 = Store by Zephyrus balance. (Added in 1.0.8b)
"sm_cases_open_delay" - Delay against spam-oppening skins
"sm_cases_price_multiplier_gloves" - This x "price_market" from the config = price of the GLOVES
"sm_cases_price_multiplier" - This x "price_market" from the config = price of the SKINS
"sm_cases_new_players_default_balance" - How much money new players start up with?
"sm_cases_allow_quick_sell_gloves" - Allow players to quick sell gloves?
"sm_cases_custom_pattern_price" - Price for setting a pattern for a weapon. 0.0 = disable

## Natives / API
List of all natives and the latest include file.

## Change Log
Spoiler

## Cases config explanation
Spoiler


## Donations
As I said, ther are already private plugins that are being sold for 20/25 euros. I've took off my own free time to develope and maitain this plugin. If you want to donate, you can send money through paypal at "[email protected]"
https://i.imgur.com/cMl3im6.png


..:: DONATIONS HALL OF FAME ::..
[-- SPRING [NoScope.Ro] - 35€ --]
[-- Țicu [Strix.Ro] - 78€ Knife(Sold for 50€) --]
[-- Edward22[Libery.Mp] - 5€ --]

## Credits
- For the "skins.cfg" config file -> Entity (replaced since v1.0.4b)
- For the making of "cases.cfg" file -> Chappi replaced since v1.0.4b)

Kaneki3699 10-01-2021 14:17

Re: [CSGO] Case Opening(BETA, 2021-10-1) - Case Opening System.
 
good job!

NanoC 10-01-2021 14:42

Re: [CSGO] Case Opening(BETA, 2021-10-1) - Case Opening System.
 
Good release!
You can maybe record a video to see how it works ingame :)

kratoss1812 10-01-2021 14:56

Re: [CSGO] Case Opening(BETA, 2021-10-1) - Case Opening System.
 
Quote:

Originally Posted by NanoC (Post 2759359)
Good release!
You can maybe record a video to see how it works ingame :)

https://www.youtube.com/watch?v=kit1...OctavianAdrian

Edward22 10-02-2021 13:54

Re: [CSGO] Case Opening(BETA, 2021-10-1) - Case Opening System.
 
nice release

joez252 10-05-2021 16:33

Re: [CSGO] Case Opening(BETA, 2021-10-1) - Case Opening System.
 
If you ever make a trade system, agents and gloves support, i will fucking love you.

But good job for now!

kratoss1812 10-06-2021 07:00

Re: [CSGO] Case Opening(BETA, 2021-10-1) - Case Opening System.
 
Quote:

Originally Posted by Kaneki3699 (Post 2759357)
good job!

Quote:

Originally Posted by Edward22 (Post 2759428)
nice release

Quote:

Originally Posted by NanoC (Post 2759359)
Good release!

Thanks guys.

Quote:

Originally Posted by joez252 (Post 2759733)
If you ever make a trade system, agents and gloves support, i will fucking love you.

Gloves and agents were already on my bucket list, now I'm planning on adding trade as well but later on :)

foxsay 10-09-2021 09:58

Re: [CSGO] Case Opening(BETA, 2021-10-1) - Case Opening System.
 
add sticker support in future also :)
https://github.com/z1ntex/CSGO_WeaponStickers
https://github.com/z1ntex/eItems

bigborther 10-20-2021 12:08

Re: [CSGO] ★ CaseOpening(1.0.3b, 2021-10-1) - Case Opening System. UPDATED 10th Oct.
 
great job!! Maybe it can be open case with some gif showing.

kratoss1812 10-23-2021 10:51

Re: [CSGO] ★ CaseOpening(1.0.3b, 2021-10-1) - Case Opening System. UPDATED 10th Oct.
 
..:: NEW UPDATE ::..
[-- See Change Log --]

## Small Preview of the new balance display ##

https://cdn.discordapp.com/attachmen.../unknown-9.png


All times are GMT -4. The time now is 11:58.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.