AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Steam Group Credits v1.3 (Zephyrus Store) (https://forums.alliedmods.net/showthread.php?t=281865)

xines 04-22-2016 23:32

[ANY] Steam Group Credits v1.3 (Zephyrus Store)
 
3 Attachment(s)
Steam Group Credits v1.3

Module to give credits for players who are invited or member in your steam group!

Currently Tested [CSS], [CS:GO]


Description:
Spoiler



Notice This:
Spoiler



Requirements:
Cvars:
  • sm_group_enable_adverts "1" Enable/Disable notifications for all players in chat (1=On/0=Off)
  • sm_groupid_add "xxxxxxx" Steam Group ID
  • sm_group_credits "xx" Credits to give per X time, if player is in group.
  • sm_group_spec_credits "xx" Spectate Credits to give per X time, if player is in group and spectate.
  • sm_group_credits_time "xx" Time in seconds to deal credits.

Chat Commands:
  • !sgc automatically turns (On/Off) Steam Group Credits, Client Announcements.


How to get steam group id?:

Goto your steam group -> Click 'Visit Admin Page' -> Done id appears
For newbs: Look attachment picture.


Changelog:
Code:

1.0 - Plugin release.
1.1 - CS:GO Fix, and minor code edits.
1.2 - Included sm_group_spec_credits, for the ability to set credits for players on spectate + code optimizations.
1.3 - Fixed timer error + small optimizations.


Lannister 04-23-2016 00:01

Re: [CSS] Steam Group Credits (Zephyrus Store)
 
May this work for CS:GO aswell?

DarkDeviL 04-23-2016 03:56

Re: [CSS] Steam Group Credits (Zephyrus Store)
 
Quote:

Originally Posted by xines (Post 2413369)
Steam Group Credits

Module to give credits for players who are member in your steam group!

Tested [CSS]




SteamWorks (including SteamTools) will respond that people are a member of your group as soon as they have been invited to that group.

People clicking "ignore" on your invitation will also count as members.

(Just to inform, before some people start stuff like "this thing also gives credits to random people!")

xines 04-23-2016 08:16

Re: [CSS] Steam Group Credits (Zephyrus Store)
 
Quote:

Originally Posted by arne1288 (Post 2413398)
SteamWorks (including SteamTools) will respond that people are a member of your group as soon as they have been invited to that group.

People clicking "ignore" on your invitation will also count as members.

(Just to inform, before some people start stuff like "this thing also gives credits to random people!")

Made a "notice" spoiler, thanks for the head up :bacon!:

Lannister 04-23-2016 12:24

Re: [CSS] Steam Group Credits (Zephyrus Store)
 
Not sure if this is the right place to post this, but, could you also add flags to this plugin? so people that has an specific flag will get more credits?

Thanks in advance!

shanapu 04-23-2016 13:25

Re: [CSS] Steam Group Credits (Zephyrus Store)
 
2 Attachment(s)
Quote:

Originally Posted by Lannister (Post 2413513)
Not sure if this is the right place to post this, but, could you also add flags to this plugin? so people that has an specific flag will get more credits?

Thanks in advance!

Im also not sure if this is the right place to post this... i just removed the steam groups part and insert a check for flag "custom1 "o" Custom Group 1".

Spoiler


I dont use Zephyrus store so i cant test it.

Addicted. 04-23-2016 13:37

Re: [CSS] Steam Group Credits (Zephyrus Store)
 
Nice release :D

Great work

sneaK 04-23-2016 16:21

Re: [CSS] Steam Group Credits (Zephyrus Store)
 
Quote:

Originally Posted by shanapu (Post 2413519)
Im also not sure if this is the right place to post this... i just removed the steam groups part and insert a check for flag "custom1 "o" Custom Group 1".

I dont use Zephyrus store so i cant test it.

Hate to say you wasted your time, but a cvar already exists in his store plugin to do almost exactly this.

ex
Code:

sm_store_custom_credits a 1.5
Gives 1.5x the default credits to anyone with the a flag.

shanapu 04-23-2016 16:42

Re: [CSS] Steam Group Credits (Zephyrus Store)
 
Quote:

Originally Posted by blackhawk74 (Post 2413556)
Hate to say you wasted your time, but a cvar already exists in his store plugin to do almost exactly this.

ex
Code:

sm_store_custom_credits a 1.5
Gives 1.5x the default credits to anyone with the a flag.

haha, thats no Problem. I was wondering that Zep didnt inculde something like that.
I'm in hospital and so i had something to do against my boredom. :up:

Lannister 04-23-2016 17:54

Re: [CSS] Steam Group Credits (Zephyrus Store)
 
Tried to use that command and it doesn't seems to work, it shows as "Unknown" also, i couldn't find it in plugin.store.cfg!

@Shanapu: Your plugin seems to work correctly, i wonder if you could add it to print to chat a message like "You earned 5 more credits for being a VIP user" something like that, with a colour!

Thanks in advance!


All times are GMT -4. The time now is 07:25.

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