Coder Social home page Coder Social logo

karlofduty / scpdiscord Goto Github PK

View Code? Open in Web Editor NEW

This project forked from servermod/scpdiscord

12.0 12.0 13.0 22.81 MB

A Northwood plugin which adds remote interaction to an SCP:SL server through Discord.

Home Page: https://karlofduty.com

License: GNU General Public License v3.0

C# 100.00%
bot discord moderation scpsl

scpdiscord's Introduction

KarlofDuty's Github repositories

Hello, you can find my Github repos here. I mainly work on my Discord bots SCPDiscord and SupportBoi nowadays but do tell me if you want any updates for other things too and I'll have a look.

I have also created a lot of the repositories in the @EarthMC organisation but I am no longer active there.

If you are looking for any of my old SCP:SL ServerMod plugins I have transferred them over to the @ServerMod organisation so you can find them there.

scpdiscord's People

Contributors

barna13 avatar bay62 avatar darnsouls avatar drbakercat avatar fxdyj avatar iopietro avatar itembi4 avatar joker-119 avatar karlofduty avatar lewisakura avatar mattymatty97 avatar minerpl avatar mrafitol avatar n3k0q avatar realmwth avatar sandeq avatar scpsltest avatar secondfry avatar sirnanos avatar toudead avatar valera771 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

scpdiscord's Issues

Add new NW events

  • LczDecontaminationAnnouncement
  • MapGenerated
  • ItemSpawned
  • PlaceBlood
  • PlaceBulletHole
  • PlayerAimWeapon
  • PlayerCancelUsingItem
  • PlayerChangeItem
  • PlayerChangeSpectator
  • PlayerDamagedShootingTarget
  • PlayerDamagedWindow
  • PlayerDryfireWeapon
  • #64
  • PlayerInteractLocker
  • PlayerInteractScp330
  • PlayerInteractShootingTarget
  • PlayerMakeNoise - Not viable to use in discord
  • PlayerReceiveEffect
  • PlayerSearchPickup
  • PlayerShotWeapon
  • PlayerThrowItem
  • PlayerToggleFlashlight
  • PlayerUnloadWeapon
  • PlayerUsedItem
  • PlayerUseHotkey
  • #106
  • #107
  • PlayerMuted
  • PlayerUnmuted
  • PlayerCheckReservedSlot
  • TeamRespawnSelected
  • Scp106Stalking
  • PlayerEnterPocketDimension
  • Scp914UpgradeInventory
  • Scp914UpgradePickup
  • Scp173PlaySound
  • Scp173CreateTantrum
  • Scp173BreakneckSpeeds
  • Scp173NewObserver
  • Scp173SnapPlayer
  • Scp939CreateAmnesticCloud
  • Scp939Lunge
  • Scp939Attack
  • Scp079BlackoutZone
  • Scp079BlackoutRoom
  • Scp049StartResurrectingBody
  • BanIssued
  • BanRevoked
  • BanUpdated
  • PlayerPreCoinFlip
  • PlayerCoinFlip
  • PlayerInteractGenerator
  • RoundEndConditionsCheck - Not viable for discord
  • Scp914PickupUpgraded
  • Scp914InventoryItemUpgraded
  • Scp096AddingTarget
  • Scp096Enraging
  • Scp096ChangeState
  • Scp096PryingGate
  • Scp096TryNotCry
  • Scp096StartCrying
  • PlayerUsingRadio
  • CassieAnnouncesScpTermination
  • PlayerChangingGroup
  • PlayerUsingIntercom
  • PlayerDeath
  • PlayerRadioToggle

Change the bug report template in github

Describe what you want to be implemented
Small suggestion but, bug report template still uses the needed version info about ServerMod. It should maybe show the LocalAdmin version and the NWapi Plugin Manager version instead.

Motivate why this change is needed/appreciated by the community
As i said in the description of the suggestion, bug report template is outdated or old and ServerMod is no use in PluginManager.

Add a config option to filter steamids

Describe what you want to be implemented
channelsettings:
# Removes online players' SteamIDs from discord messages in the following channels
# Set to [] to disable
filtersteamids: []

Maybe when using this option, steamids could be replaced by playerids.

Motivate why this change is needed/appreciated by the community
The VSR doesnt consider steamids as "public information", so they cant be shown to non-staff players. This option would make it possible for server owners to create a public server logs channel, only showing player names and playerids.

[BUG] Bot crash for text over 4096 characters

Describe the bug
The bot crash if the message is too long (4096+ characters)

To Reproduce
Steps to reproduce the behavior:

  1. Execute a command that will print over than 4096 characters
  2. Bot crash

Screenshots

Setup (please complete the following information):

  • OS: Ubuntu 20.04
  • Version: 3.0.0 alpha 3
  • API Version: bot version

Bot status playercount change proposal

Describe what you want to be implemented
Could you perhaps change the way how to the playercount on the bot's status look like? Or give us the option to change it in the config?

Motivate why this change is needed/appreciated by the community
How it looks right now feels and looks a little weird. Most of my bots look like the bots below (Server 1 & 2):
Screenshot_2022-12-22_013820

[BUG] Grenade kills are incorrectly labeled as teamkills

Describe the bug
When someone throws a grenade, kills some humans form a opposing faction and dies, these kills will show up as teamkills.

To Reproduce
Steps to reproduce the behavior:

  1. Spawn as MTF Captain
  2. Spawn someone else as Chaos Insurgent
  3. Throw a grenade under yourself while the Insurgent stands next to you
  4. Both die and see a teamkill on discord.

Screenshots
Example log: (britx was a MTF Seregant, others were Chaos Insurgents)

[15:33:12]: Dead cat :3 () was teamkilled by Dead britx () using an explosion.
[15:33:12]: Dead buk7225 () was teamkilled by Dead britx () using an explosion.
[15:33:12]: Dead rob224 () was teamkilled by Dead britx () using an explosion.
[15:33:12]: Dead hmmm () was teamkilled by Dead britx () using an explosion.
[15:33:12]: Dead Alocurd () was teamkilled by Dead britx () using an explosion.
[15:33:12]: Dead matieuuusz () was teamkilled by Dead britx () using an explosion.
[15:33:12]: Dead SawiPL () was teamkilled by Dead britx () using an explosion.
[15:33:12]: Dead AMOGUSOWYMOGUS () was teamkilled by Dead britx () using an explosion.

Setup (please complete the following information):

  • OS: idk (I use a hosting service)
  • Version: 3.0.1
  • API Version: 12.0.0

[BUG] Useless info when player dies, or joins/leaves

Describe the bug
This is about the messages the bot sends in the discord channel:

When a player joines or leaves, they become a "None", which is pretty useless info since we know that a player has joined or left.
When a player dies, it says that they'd become a class/role they were before for a moment and then sets them to spectator.

To Reproduce
Steps to reproduce the behavior:
Just make sure you have player JOIN/LEFT and player set ROLE(dont exactly remember what it actually was)/CLASS enabled in the config. The messages should be seen in the discord channel that you have set for those messages.

Screenshots
​​​
image
‌​‌​​‌‌​‌​‌‌‌‌​​‌​‌​‌​​​‌​‌​​​​‌‌​​‌‌​‌​​​‌​​‌‌‌​​‌‌‌​‌​‌

Setup (please complete the following information):

  • OS: Ubuntu 20.04
  • SCP Server Version: 12.0.0

Log the "oban" command together with the onban messages.

Describe what you want to be implemented
Log the "oban" command together with the onban messages.

Motivate why this change is needed/appreciated by the community
messages:
onban:
player: [ "bans" ]
server: [ "bans" ]

This event currently only logs bans made directly to online players, it would be nice to have the oban command also be logged in the same category. This would benefit everyone that has a dedicated bans channel.

[BUG] Reversed attacker and attackee

Describe the bug
this message is reversed:
FoundationForces Connor Membo () was attacked by teammate FoundationForces No Regular () using GunCrossvec (20.7 hp).

I've taken the SteamID out.

To Reproduce
attack someone
look at logs
they attacked you apparently

Setup (please complete the following information):

  • OS: debian 11 using pterodactyl
  • Version: 12.0
  • API Version: 12.0.0-rc.6

Disable logging of commands that dont exist

Describe what you want to be implemented
Disable logging of commands that dont exist, basically the ones that state at the end "Result: 'Command not found.'"

Motivate why this change is needed/appreciated by the community
People play on multiple different servers, and since servers have different commands/plugins, they usually will try to use them and flood the commands logging event. Its just logging spam, since the command doesnt even exist, that information doesnt benefit anyone.

[BUG] Wrong Victim Wrong Attacker

Describe the bug
OnPlayerHurt event, when a teammate is attacking his teammate, the attacker is the victim and the victim is the attacker. Teamkill logs are the other way around.

To Reproduce
Steps to reproduce the behavior:

  1. Enable logs for "OnPlayerHurt: FriendlyFire"
  2. Shoot teammate
  3. See logs on Discord
  4. See error

Screenshots
If applicable, add screenshots to help explain your problem.

Setup (please complete the following information):

  • OS: [e.g. Ubuntu 22.04]
  • Version: [3.0.0-Alpha3]
  • API Version: [12.0.0-rc5]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.