Cops And Crims is based on the popular eSports shooter Counter-Strike: Global Offensive like Cops and Crims from the Hypixel server. Using a custom resource pack, both teams arm themselves with guns, pistols, and even grenades.
Using a mixture of tactics and skills you must either defend the bomb sites or infiltrate the sites and plant the bomb. At the beginning of each round, you can buy weapons from the store.
» Lightweight and easy to use!
» No dependency
» CorpseReborn support
» 3D TexturePack
» 100% customizable
» Non-flicker scoreboard
» Custom guns system
» BungeeMode support
» Internal shop:
■ Per team weapons
■ Hide VIP weapons
■ Customizable knifes
» Per game player list
» Bossbar messages
» No bugs remained
» MySQL stats
» Vip weapons
» ActionBar and Title
» Default leather armor (BLUE, RED)
» Defuse system like in the real game!
Code:
Player: - None
@text - Talk to the other team
/counterstrike join <id>
/counterstrike quickjoin
/counterstrike leave
Admin: - cs.admin
/counterstrike create <id> <name> <min> <max>
/counterstrike delete <id>
/counterstrike reload
/counterstrike disable <id>
/counterstrike enable <id>
Weapons Permissions:
- "cs.weapon.<weapon_name>" and "Permission: true" in that gun section in shop.yml
Code:
1. Use /counterstrike create <id> <name> <min> <max>
2. Follow the setup wizard
3. Place a sign:
[CounterStrike]
<id>
4. Place a quick sign:
[CounterStrike]
QuickJoin
Java:
import ro.Fr33styler.CounterStrike.Api.BombExplodeEvent;
import ro.Fr33styler.CounterStrike.Api.GameJoinEvent;
import ro.Fr33styler.CounterStrike.Api.GameLeaveEvent;
import ro.Fr33styler.CounterStrike.Api.GameStateChangeEvent;
import ro.Fr33styler.CounterStrike.Api.GunDamageEvent;
import ro.Fr33styler.CounterStrike.Handler.GameState;
@EventHandler
public void onJoin(GameJoinEvent e) {
Player p = e.getPlayer();
}
@EventHandler
public void onStateChange(GameStateChangeEvent e) {
GameState state = e.getState();
switch (state) {
case DISABLED:
break;
case END:
break;
case IN_GAME:
break;
case ROUND:
break;
case WAITING:
break;
}
}
@EventHandler
public void onLeave(GameLeaveEvent e) {
Player p = e.getPlayer();
}
@EventHandler
public void onBombExplode(BombExplodeEvent e) {
Location l = e.getBombLocation();
}
@EventHandler
public void onGunDamage(GunDamageEvent e) {
double damage = e.getDamage();
Player victim = e.getVictim();
Player damager = e.getDamager();
boolean isheadshot = e.isHeadshot();
}
FAQ:
Dropped guns don't delete each round
- Disable ClearLag for the game world!
- Any scoreboard plugin that uses an abusive scoreboard makes problems, try disabling it from the game world!
- Disable force game mode from Multiverse or MultiWorld
- Set spawn-protection=0 from server.proprietes