Skip to content

Commit 424e8c4

Browse files
committed
init(project): Initial Commit
0 parents  commit 424e8c4

File tree

10 files changed

+1145
-0
lines changed

10 files changed

+1145
-0
lines changed

README.MD

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<p align="center">
2+
<a href="https://github.com/swiftly-solution/multi1v1">
3+
<img src="https://cdn.swiftlycs2.net/swiftly-logo.png" alt="SwiftlyLogo" width="80" height="80">
4+
</a>
5+
6+
<h3 align="center">[Swiftly] Multi1v1</h3>
7+
8+
<p align="center">
9+
A simple plugin for Swiftly that implements an Arena System.
10+
<br/>
11+
</p>
12+
</p>
13+
14+
<p align="center">
15+
<img src="https://img.shields.io/github/downloads/swiftly-solution/multi1v1/total" alt="Downloads">
16+
<img src="https://img.shields.io/github/contributors/swiftly-solution/multi1v1?color=dark-green" alt="Contributors">
17+
<img src="https://img.shields.io/github/issues/swiftly-solution/multi1v1" alt="Issues">
18+
<img src="https://img.shields.io/github/license/swiftly-solution/multi1v1" alt="License">
19+
</p>
20+
21+
---
22+
23+
### Requirements 🛠️
24+
25+
- [Cookies](https://github.com/swiftly-solution/cookies/releases)
26+
27+
### Installation 👀
28+
29+
1. Download the newest [release](https://github.com/swiftly-solution/multi1v1/releases).
30+
2. Everything is drag & drop, so i think you can do it!
31+
32+
### Configuring the plugin 🧐
33+
34+
- After installing the plugin, you should change the default prefix from `addons/swiftly/configs/plugins/multi1v1.json` (optional)
35+
- You can edit, remove and make new round types from the config file `addons/swiftly/configs/plugins/multi1v1.json`.
36+
- The weapons key in the config file represents the guns that are available in `!guns`, for each team.
37+
38+
### multi1v1 Commands 💬
39+
40+
* Base commands provided by this plugin:
41+
42+
| Command | Flag | Description |
43+
|:-----------------:|:-----------------:|:---------------------------------------:|
44+
| `!guns` | `NONE` | Main Guns Menu. |
45+
| `!enemy` | `NONE` | Displays the current enemy in the chat. |
46+
| `!roundtype` | `NONE` | Displays the current roundtype in the chat. |
47+
48+
### Creating A Pull Request 😃
49+
50+
1. Fork the Project
51+
2. Create your Feature Branch
52+
3. Commit your Changes
53+
4. Push to the Branch
54+
5. Open a Pull Request
55+
56+
### Have ideas/Found bugs? 💡
57+
58+
Join [Swiftly Discord Server](https://swiftlycs2.net/discord) and send a message in the topic from `📕╎plugins-sharing` of this plugin!
59+
60+
---

configs/plugins/multi1v1.json

Lines changed: 159 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,159 @@
1+
{
2+
"prefix": "[{lime}SWIFTLY{default}]",
3+
"color": "00b869",
4+
"guns_commands": [
5+
"guns",
6+
"weapons"
7+
],
8+
"round_types": {
9+
"knife": {
10+
"display": "Knife Round",
11+
"rifle": false,
12+
"armor": 100,
13+
"pistol": false,
14+
"knife": true,
15+
"grenades": {
16+
"incendiary": false,
17+
"flashbang": false,
18+
"he": false,
19+
"smoke": false,
20+
"decoy": false
21+
},
22+
"zeus": false
23+
},
24+
"pistol": {
25+
"display": "Pistol Round",
26+
"rifle": false,
27+
"armor": 100,
28+
"pistol": true,
29+
"knife": true,
30+
"grenades": {
31+
"incendiary": false,
32+
"flashbang": false,
33+
"he": false,
34+
"smoke": false,
35+
"decoy": false
36+
},
37+
"zeus": false
38+
},
39+
"normal": {
40+
"display": "Normal Round",
41+
"armor": 100,
42+
"rifle": true,
43+
"pistol": true,
44+
"knife": true,
45+
"grenades": {
46+
"incendiary": false,
47+
"flashbang": false,
48+
"he": false,
49+
"smoke": false,
50+
"decoy": false,
51+
"ta": false
52+
},
53+
"zeus": false
54+
},
55+
"awp": {
56+
"display": "AWP Round",
57+
"rifle": "weapon_awp",
58+
"pistol": false,
59+
"armor": 100,
60+
"knife": true,
61+
"grenades": {
62+
"incendiary": false,
63+
"flashbang": false,
64+
"he": false,
65+
"smoke": false,
66+
"decoy": false
67+
},
68+
"zeus": false
69+
},
70+
"ssg": {
71+
"display": "SSG08 Round",
72+
"rifle": "weapon_ssg08",
73+
"armor": 100,
74+
"pistol": false,
75+
"knife": true,
76+
"grenades": {
77+
"incendiary": false,
78+
"flashbang": false,
79+
"he": false,
80+
"smoke": false,
81+
"decoy": false
82+
},
83+
"zeus": false
84+
}
85+
},
86+
"weapons": {
87+
"rifles": {
88+
"t": {
89+
"weapon_ak47": "AK47",
90+
"weapon_galilar": "Galil",
91+
"weapon_m4a1": "M4A4",
92+
"weapon_m4a1_silencer": "M4A1-S",
93+
"weapon_famas": "Famas"
94+
},
95+
"ct": {
96+
"weapon_m4a1": "M4A4",
97+
"weapon_m4a1_silencer": "M4A1-S",
98+
"weapon_famas": "Famas",
99+
"weapon_ak47": "AK47",
100+
"weapon_galilar": "Galil"
101+
}
102+
},
103+
"pistols": {
104+
"t": {
105+
"weapon_glock": "Glock",
106+
"weapon_p250": "P250",
107+
"weapon_cz75a": "CZ75",
108+
"weapon_tec9": "Tec-9",
109+
"weapon_elite": "Dual Berettas",
110+
"weapon_deagle": "Desert Eagle",
111+
"weapon_revolver": "Revolver"
112+
},
113+
"ct": {
114+
"weapon_hkp2000": "P2000",
115+
"weapon_usp_silencer": "USP-S",
116+
"weapon_fiveseven": "Five-Seven",
117+
"weapon_p250": "P250",
118+
"weapon_cz75a": "CZ75",
119+
"weapon_elite": "Dual Berettas",
120+
"weapon_deagle": "Desert Eagle",
121+
"weapon_revolver": "Revolver"
122+
}
123+
}
124+
},
125+
"convars": {
126+
"bot_quota": "0",
127+
"mp_autoteambalance": "0",
128+
"mp_ct_default_primary": "\"\"",
129+
"mp_ct_default_secondary": "\"\"",
130+
"mp_t_default_primary": "\"\"",
131+
"mp_t_default_secondary": "\"\"",
132+
"mp_halftime": "0",
133+
"mp_join_grace_time": "0",
134+
"mp_match_can_clinch": "0",
135+
"mp_respawn_immunitytime": "0",
136+
"mp_autokick": "0",
137+
"mp_warmuptime": "0",
138+
"mp_warmuptime_all_players_connected": "10",
139+
"mp_warmup_pausetimer": "0",
140+
"mp_maxmoney": "0",
141+
"mp_teamcashawards": "0",
142+
"mp_playercashawards": "0",
143+
"sv_disable_radar": "1",
144+
"sv_ignoregrenaderadio": "1",
145+
"mp_freezetime": "3",
146+
"mp_forcecamera": "0",
147+
"mp_maxrounds": "0",
148+
"mp_round_restart_delay": "2",
149+
"sv_allow_votes": "0",
150+
"mp_timelimit": "30",
151+
"mp_win_panel_display_time": "5",
152+
"sv_talk_enemy_dead": "1",
153+
"sv_talk_enemy_living": "1",
154+
"sv_deadtalk": "1",
155+
"mp_roundtime": "0.30",
156+
"mp_endwarmup_player_count": "1",
157+
"mp_death_drop_healthshot": "false"
158+
}
159+
}

plugins/multi1v1/manifest.lua

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
function GetPluginAuthor()
2+
return "Swiftly Solution"
3+
end
4+
5+
function GetPluginVersion()
6+
return "v1.0.0"
7+
end
8+
9+
function GetPluginName()
10+
return "Multi1v1 - 1v1 Arena System"
11+
end
12+
13+
function GetPluginWebsite()
14+
return "https://github.com/swiftly-solution/multi1v1"
15+
end

0 commit comments

Comments
 (0)