Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

[any?]caseopening system - api


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Helloo. I've been gone for a time, blabla.

I've made this like a year ago, but it was private for a very long time. The old, private version was horrible, and limited. So instead of releasing some sh.. I've recoded it from scratch, now waiting for feedbacks and bugreports.
( Old version preview )
( Old repository )

For new previews, take a look there: https://github.com/KillStr3aK/caseopening

Before going on, THIS IS NOT READY FOR LIVE SERVERS ATM! You have been warned.

This plugin is just an API, so without modules you can't really do anything.
I've created some core modules, which is related to the zephstore so if you're willing to help me with the tests, dont forget to install that store too.

FOR DEVS
Please, instead of working/editing it privately, just send pull requests.
Before trying to do anything, take a look on the include files, especially on the methodmap.

Description:
Players can get cases, keys from various ways (Not done yet)
They can open cases, and get anything if the server have got the right module the given item. (Its easy to create a new module)
At the moment, the system can handle up to 64 modules, 32 case can be created, each case could have up to 24 items, and you can set custom grades for every item.
You can place cases with the admin menu, it will be saved in configs/case_spawns/mapname.txt

Dependencies:
  • ZephStore - Only if you want to use the core modules, otherwise you dont need store at all.
  • My own VIP System - Or just comment out the 137. and 189. lines.
  • MySQL - ONLY MYSQL SUPPORT

Core included modules:
  • Store Support ( Core included ) - Players can open anything from the Store plugin (Based on item unique_id)
    • Hat
    • Trail
    • Aura
    • Playerskin
    • Paintball
    • Credits
    • Pets
  • VIP Support ( Core included ) - Currently only my own vipsystem is supported, but you can create your own module.
    • Requires my vipsystem, included above.
  • Admin commands ( Core included ) - Commands will be listed below
    • sm_drop - Giving out a crate like in the endgame drop
    • sm_caseban - Banning a player
    • sm_refreshcases - Refresh the cases from db (This will refresh the items && grades too.)
    • sm_loadinv - Load inventory for the given player
    • sm_givekey - Give key to a player
    • sm_givecase - Give case to a player
  • Endgame drops ( Core included ) - A random player will be picked for the case drop
    • When the match ends, a random case will be given to a random player.
  • Place cases to the map ( Core included ) - You can place cases
  • Ban system ( Core included ) - Admins can ban players from using the system.

Known bugs atm:
  • Sometimes the drop command is not works as intended
  • Not precached models can crash the server && players

Before asking "how-to" questions
Take a look on the wiki

What will be added after the first release?
  • Spawning the case in front of the player and play the open animation
  • New modules, based on feedbacks
  • Better menu, the current one is for test purposes.
  • More options for how could the players get cases, keys.

If you have got any problem or error with the plugin, or just a good idea feel free to reply to the thread and share it with us.

I would like to credit every forum member, "nexd.inc" is a collection of "useful"(atleast most of the times) stocks, and I dont remember for every name.

Download
Direct Download
Github Repo
Releases

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
 Udostępnij

×
×
  • Dodaj nową pozycję...