Hosting your own Perforce server locally? P4Discord is a bot that allows remote management directly from Discord! Post Submits to channels in realtime, control the Perforce service, and add your own commands for more!
- More secure than RDP connections
- Sends Submit reports to Discord Channels in realtime using Webhooks (Workspace, Time of Submission, Changelist #, Affected Files, etc)
- Remotely Start, Stop, check the Status of your Perforce server
- Features an Admin List, to allow other users to control the server
- On your server machine, clone this repo.
- Run
Setup.batto run setup installer
It'll ask for your P4Root directory, Bot Token, Webhook URL from the channel you'd like to post Submits to, and your P4 Admin Password to allow access for live Submit checks
- Highly recommend going into your server's BiOS settings and enabling Power On After Power Loss to automatically reboot in-case of outages!
- Tailscale is a VPN service that bridges server and workspace machines into a virtual network—as if each machine were on the same LAN—making it way easier to connect remotely. (Free plan is up to 3 users!)
/helpReturns this commandlist/latestPosts latest changelist to webhook channel/pingReturns Perforce server status/presence STRINGSets the Bot's App Activity in Discord/restartRuns p4 admin restart/sessionChecks Perforce login session (for webhook functionality)/stopRuns p4 admin stop
- James Ives' perforce-commit-discord-bot
- Python 3.7.2
- GitHub
- Claude
- Cisc0-gif - Main Contributor/Author: [email protected]
This project is licensed under the GPLv3 License - see LICENSE file for details
All credits are given to the authors and contributors to tools used in this software