Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[ANY] Store (1.0.0-alpha)


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 488
  • Lokalizacja:AMXX.PL
Offline

Napisano 30.01.2013 17:54

Dołączona grafikaQuick questions, comments, concerns? You can reach me quickly in the SourceMod IRC Channel: #sourcemod

Description:
  • This is an open store plugin for SourceMod. Stores are always something that communities keep internal. This was what I wrote for my community, but I feel like releasing it today for some reason.
  • Even though it was tested for a couple of months in my servers, I've made tons of changes since then. I'm releasing this as an alpha version because it is far from being totally stable, but with your help we will be able to stablize it. I will add Updater support once this is out of alpha.
  • The most recent source code is available at this project's GitHub repository: https://github.com/alongubkin/store.
  • More documentation and tutorials can be found at the wiki.
Features:
  • Modular and Extensible - This package is organized in modules, where each module is a different SourceMod plugin. You can extend the store, add new items or anything you can think of just by writing a new SourceMod plugins.
  • Shop - Players can buy various items from the shop. The item is added to the player's inventory. Items in the shop are organized in categories.
  • Inventory - The player's personal inventory, allowing for storage for all in-game items. From their inventory, players can use or equip items they own. Items in the inventory are also organized in categories.
  • Loadout - Players can have multiple sets of equipped items. You can switch between the sets anytime using the loadout menu. You can have specific loadouts for different games, different in-game (TF2) classes, different in-game teams or any combination of them.
  • Distributor - Every X minutes, all players that are currently connected to server get Y credits (configurable).
  • Logging - The plugin maintains full logs of all errors, warnings and information.
  • Custom currency name.
  • Custom chat triggers for the store main menu, shop, inventory and loadout.
Installation:Just download the attached zip archive and extract to your sourcemod folder intact. Then navigate to your configs/ directory and add the following entry in databases.cfg: HTML Code: "store"{ "driver" "mysql" "host" "" "database" "" "user" "" "pass" ""}Next, navigate to configs/store/sql-init-scripts and execute store.sql in your database.Please note that the attached package doesn't include any items. You can download items at the 2nd post of this thread. For each item module you want to add, execute the corresponding SQL file in configs/store/sql-init-scripts and enable the plugin.I have created a full installation tutorial in the wiki - Installing Store (recommended for new users).For Developers:The store is completely modular and extensible. Every module of the store provides APIs that you can use to extend it. All of the APIs are completely documented. Start by looking at the include files (scripting/include/store).I have created a tutorial for coding new items for the store. Take a look - Creating items for Store.Note: Since this is still an alpha version, changes to the APIs or the database structure are completely possible. Attached Files Dołączona grafika store-1.0.0-alpha.zip (123.1 KB)

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych