Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
oqyh committed Mar 23, 2024
1 parent 82b4ff2 commit fa3c180
Showing 1 changed file with 105 additions and 13 deletions.
118 changes: 105 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [CS2] Vote-GoldKingZ (1.0.0)
# [CS2] Vote-GoldKingZ (1.0.1)

### Vote System (Kick , Mute , Banned, Vips)

Expand All @@ -13,7 +13,7 @@
## Todo List

- [x] Vote Kick
- [ ] Vote Banned
- [x] Vote Banned
- [ ] Vote Mute (Chat)
- [ ] Vote Gag (Voice)
- [ ] Vote Silent (Chat + Voice)
Expand All @@ -33,7 +33,12 @@
## .:[ Configuration ]:.

> [!CAUTION]
> Config Located In ..\addons\counterstrikesharp\plugins\Vote-GoldKingZ\config\config.json
> Config Located In ..\addons\counterstrikesharp\plugins\Vote-GoldKingZ\config\config.json
> After Upload Plugin Check Server Console For 100% Loaded Message And Not Facing Any Errors
>
> ![loaded](https://github.com/oqyh/cs2-Vote-GoldKingZ/assets/48490385/18b78f36-7129-494c-8e0d-655609d3bd06)
<p><details><summary> [ Vote Kick ] </summary>

```json
{
Expand All @@ -47,7 +52,10 @@

//If Vote Pass How Many In Mins Should Kicked Player Wait To Join Back
"VoteKick_TimeInMins": 5,


//Minimum Of Players To Start Vote Kick
"VoteKick_StartOnMinimumOfXPlayers": 5,

//Rest And Cancel AfterKickGivePlayerXMinsFromJoining On Map Change
"VoteKick_AllowKickedPlayersToJoinOnMapChange": false,

Expand Down Expand Up @@ -81,6 +89,58 @@
}
```

</details>
</p>


<p><details><summary> [ Vote Banned ] </summary>

```json
{
//After Banned Player Which Method Do You Like
//VoteBanned_Mode (0) = Disable
//VoteBanned_Mode (1) = Banned And Restrict SteamID From Joining
//VoteBanned_Mode (2) = Banned And Restrict IpAddress From Joining
//VoteBanned_Mode (3) = Banned And Restrict SteamID And IpAddress From Joining
"VoteBanned_Mode": 0,

//If Vote Pass How Many In Days Should Kicked Player Wait To Join Back
"VoteBanned_TimeInDays": 5,

//Minimum Of Players To Start Vote Kick
"VoteBanned_StartOnMinimumOfXPlayers": 5,

//VoteBanned_TeamOnly (false) = Cross Teams Voting
//VoteBanned_TeamOnly (true) = Vote On Team Side Only
"VoteBanned_TeamOnly": false,

//Vote Percentage To Pass The Vote 6 means 0.6 || 5 means 0.5 Half
"VoteBanned_Percentage": 6,

//If Vote Reach Half Depend Percentage On VoteBanned_Percentage Do You Want Annoce Player To Vote shortcut Depend [VoteBanned_CommandsOnHalfVoteAccept] And [VoteBanned_CommandsOnHalfVoteRefuse] To Banned Player Announced
"VoteBanned_CenterMessageAnnouncementOnHalfVotes": true,

//If VoteBanned_CenterMessageAnnouncementOnHalfVotes Enabled How Many In Secs To Show Message
"VoteBanned_CenterMessageAnnouncementTimer": 25,

//Enable Punishment Only Who Try To Evasion VoteBanned_Mode Only Works 2 to 4
"VoteBanned_EvasionPunishment": false,

//If VoteBanned_EvasionPunishment Enabled How Many In Days Give Extra For Evasion Punishment
"VoteBanned_EvasionPunishmentTimeInDays": 10,

//Commands Ingame
"VoteBanned_CommandsToVote": "!votebanned,!banned,!vb",
"VoteBanned_CommandsOnHalfVoteAccept": "!yes,yes,!y,y",
"VoteBanned_CommandsOnHalfVoteRefuse": "!no,no,!n,n",

//Immunity From Getting Vote To Banned
"VoteBanned_ImmunityGroups": "@css/root,@css/admin,@css/vip,#css/admin,#css/vip",
}
```

</details>
</p>

## .:[ Language ]:.

Expand All @@ -99,26 +159,58 @@
// Other
//==========================
//{nextline} = Print On Next Line
//<br> = Next Line On HUD Center Message
//==========================

"votekick.menu.name": "{purple}Vote Kick Menu",
"votekick.player.vote.on.halfvotes.center.message": "{green}Gold KingZ {grey}| {darkred}Please Wait For Timer To End",
"votekick.player.is.immunity": "{green}Gold KingZ {grey}| {darkred}Vote Failed On {Purple}{0} {darkred}You Cant Vote Kick VIPs",//{0} Vip PlayerName

"votekick.player.vote.same.player": "{green}Gold KingZ {grey}| You've Already Voted To Kick {Purple}{0} {grey}[ {Olive}{1} {grey}/ {Olive}{2} {grey}]", //{0} PlayerName Vote On - {1} Votes - {2} Needed
"votekick.player.vote.same.yes": "{green}Gold KingZ {grey}| You've Already Voted {lime}Yes {grey}To {Purple}{0} {grey}[ {Olive}{1} {grey}/ {Olive}{2} {grey}]", //{0} PlayerName Vote On - {1} Votes - {2} Needed
"votekick.player.vote.same.no": "{green}Gold KingZ {grey}| You've Already Voted {red}No {grey}To {Purple}{0} {grey}[ {Olive}{1} {grey}/ {Olive}{2} {grey}]", //{0} PlayerName Vote On - {1} Votes - {2} Needed

"votekick.chat.message": " {green}Gold KingZ {grey}| {Purple}{0} {grey}Wanted to kick {Magenta}{1} {grey}[ {Olive}{2} {grey}/ {Olive}{3} {grey}]", //{0} PlayerName Rock The Vote - {1} PlayerName Vote On - {1} Votes - {2} Needed
"votekick.announce.kick.successfully.message": "{green}Gold KingZ {grey}| Vote Successfully, {Purple}{0} {grey}Has Been Kicked",{0} PlayerName Kicked
"votekick.minimum.needed": "{green}Gold KingZ {grey}| {grey}You Cant Start Vote Kick You Need Minimum {lime}{0} {grey}Players", //{0} Players Needed
"votekick.player.is.immunity": "{green}Gold KingZ {grey}| {darkred}Vote Failed On {Purple}{0} {darkred}You Cant Vote Kick VIPs", //{0} Vip PlayerName

"votekick.player.vote.same.player": "{green}Gold KingZ {grey}| You've Already Voted To Kick {Purple}{0} {grey}[ {Olive}{1} {grey}/ {Olive}{2} {grey}]", //{0} PlayerName Vote On - {1} Votes - {2} Needed
"votekick.player.vote.same.yes": "{green}Gold KingZ {grey}| You've Already Voted {lime}Yes {grey}To {Purple}{0} {grey}[ {Olive}{1} {grey}/ {Olive}{2} {grey}]", //{0} PlayerName Vote On - {1} Votes - {2} Needed
"votekick.player.vote.same.no": "{green}Gold KingZ {grey}| You've Already Voted {red}No {grey}To {Purple}{0} {grey}[ {Olive}{1} {grey}/ {Olive}{2} {grey}]", //{0} PlayerName Vote On - {1} Votes - {2} Needed

"votekick.chat.message": " {green}Gold KingZ {grey}| {Purple}{0} {grey}Wanted To Kick {Magenta}{1} {grey}[ {Olive}{2} {grey}/ {Olive}{3} {grey}]", //{0} PlayerName Rock The Vote - {1} PlayerName Vote On - {1} Votes - {2} Needed

"votekick.announce.kick.successfully.message": "{green}Gold KingZ {grey}| Vote Successfully, {Purple}{0} {grey}Has Been Kicked", //{0} PlayerName Kicked
"votekick.announce.halfvotes.chat.message": "{green}Gold KingZ {grey}| Votes Reached Half Type {yellow}!yes {grey}/ {yellow}!y {grey}Or {red}!no {grey}/ {red}!n {grey}To Vote Kick",
"votekick.announce.halfvotes.center.message": "<font color='purple'>Vote Reach Half</font> <font color='darkred'>{0} Secs</font> <br> <font color='grey'>Kick player: </font> <font color='lightblue'>{1} ?</font> <br> <font class='fontSize-l' color='green'> [ {2} / {3} ] </font> <br> <font color='grey'>To Kick Say</font> <font color='yellow'>!yes</font><font color='grey'>/</font><font color='yellow'>!y</font> <br> <font color='grey'>To Remove Kick Say</font> <font color='yellow'>!no</font><font color='grey'>/</font><font color='yellow'>!n</font>"// {0} Timer - {1} PlayerName Vote On - {2} Votes - {3} Needed

"votekick.announce.halfvotes.center.message": "<font color='purple'>Vote Reach Half</font> <font color='darkred'>{0} Secs</font> <br> <font color='grey'>Kick player: </font> <font color='lightblue'>{1} ?</font> <br> <font class='fontSize-l' color='green'> [ {2} / {3} ] </font> <br> <font color='grey'>To Kick Say</font> <font color='yellow'>!yes</font><font color='grey'>/</font><font color='yellow'>!y</font> <br> <font color='grey'>To Remove Kick Say</font> <font color='yellow'>!no</font><font color='grey'>/</font><font color='yellow'>!n</font>", // {0} Timer - {1} PlayerName Vote On - {2} Votes - {3} Needed








"votebanned.menu.name": "{purple}Vote Banned Menu",

"votebanned.minimum.needed": "{green}Gold KingZ {grey}| {grey}You Cant Start Vote Banned You Need Minimum {lime}{0} {grey}Players", //{0} Players Needed
"votebanned.player.is.immunity": "{green}Gold KingZ {grey}| {darkred}Vote Failed On {Purple}{0} {darkred}You Cant Vote Banned VIPs", //{0} Vip PlayerName

"votebanned.player.vote.same.player": "{green}Gold KingZ {grey}| You've Already Voted To Banned {Purple}{0} {grey}[ {Olive}{1} {grey}/ {Olive}{2} {grey}]", //{0} PlayerName Vote On - {1} Votes - {2} Needed
"votebanned.player.vote.same.yes": "{green}Gold KingZ {grey}| You've Already Voted {lime}Yes {grey}To {Purple}{0} {grey}[ {Olive}{1} {grey}/ {Olive}{2} {grey}]", //{0} PlayerName Vote On - {1} Votes - {2} Needed
"votebanned.player.vote.same.no": "{green}Gold KingZ {grey}| You've Already Voted {red}No {grey}To {Purple}{0} {grey}[ {Olive}{1} {grey}/ {Olive}{2} {grey}]", //{0} PlayerName Vote On - {1} Votes - {2} Needed

"votebanned.chat.message": " {green}Gold KingZ {grey}| {Purple}{0} {grey}Wanted To Banned {Magenta}{1} {grey}[ {Olive}{2} {grey}/ {Olive}{3} {grey}]", //{0} PlayerName Rock The Vote - {1} PlayerName Vote On - {1} Votes - {2} Needed

"votebanned.announce.banned.successfully.message": "{green}Gold KingZ {grey}| Vote Successfully, {Purple}{0} {grey}Has Been Banned", //{0} PlayerName Banned
"votebanned.announce.halfvotes.chat.message": "{green}Gold KingZ {grey}| Votes Reached Half Type {yellow}!yes {grey}/ {yellow}!y {grey}Or {red}!no {grey}/ {red}!n {grey}To Vote Banned",

"votebanned.announce.halfvotes.center.message": "<font color='purple'>Vote Reach Half</font> <font color='darkred'>{0} Secs</font> <br> <font color='red'>Banned player: </font> <font color='lightblue'>{1} ?</font> <br> <font class='fontSize-l' color='green'> [ {2} / {3} ] </font> <br> <font color='grey'>To Banned Say</font> <font color='yellow'>!yes</font><font color='grey'>/</font><font color='yellow'>!y</font> <br> <font color='grey'>To Remove Banned Say</font> <font color='yellow'>!no</font><font color='grey'>/</font><font color='yellow'>!n</font>" // {0} Timer - {1} PlayerName Vote On - {2} Votes - {3} Needed

}
```

## .:[ Change Log ]:.
```
(1.0.1)
-Added "VoteKick_StartOnMinimumOfXPlayers" In Json To Vote Kick
-Added "votekick.minimum.needed" In Lang For Vote Kick
-Added Vote Banned
(1.0.0)
-Initial Release
```
Expand Down

0 comments on commit fa3c180

Please sign in to comment.