Author Topic: Chatreports module  (Read 4727 times)

0 Members and 1 Guest are viewing this topic.

Offline Timmy

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 252
  • Karma: 168
  • Code monkey
Chatreports module
« on: June 28, 2015, 11:58:18 AM »
The Chatreports module allows players to quickly gather sharable evidence on someone that breaks chat rules.

It can be hard to prove whether screenshots or copied chat messages are genuine. This module provides an easy way for players to gather valid evidence against rule breakers. It works by posting a player’s chat history to a Pastebin account when a player runs !chatreport <player>.

Requirements
- 1 Pastebin account (Sign up here)

Setup (It's simple)
- Extract the ulx-chatreports archive into your addons folder
- Inside the the extracted folder, locate and open data/chatreports.json with a text editor
- Open up a browser and sign in to Pastebin
- Navigate to https://pastebin.com/api#1 and copy your developer key
- Back in the chatreports.json file, replace YOUR_DEV_KEY with your actual developer key
- Navigate to this page, enter the requested information and click the "create api_user_key" button. Copy your user key.
- Back in the chatreports.json file, replace YOUR_USER_KEY with your actual user key
- Save the file. You're done. Restart your server to activate the addon.

API limitations
- Free Pastebin accounts have a limit of 25 pastes/day

Report example
https://pastebin.com/ShieyfmR

Usage
« Last Edit: July 12, 2017, 03:27:25 PM by Timmy »

Offline Caustic Soda-Senpai

  • Sr. Member
  • ****
  • Posts: 469
  • Karma: 54
  • <Insert something clever here>
    • Steam Page
Re: Chatreports module
« Reply #1 on: June 28, 2015, 12:59:49 PM »
This is actually incredibly useful. And a lot quicker than having to go through the server logs. +Karma for you, mate.
Once you get to know me, you'll find you'll have never met me at all.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Chatreports module
« Reply #2 on: June 28, 2015, 06:23:00 PM »
Nice.
I think this release would be great in combination with several of the reporting and note taking addons in our Releases section.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Chatreports module
« Reply #3 on: June 29, 2015, 01:19:11 PM »
Lookin' great! ;D
Thanks for your awesome and useful releases!
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Timmy

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 252
  • Karma: 168
  • Code monkey
Re: Chatreports module
« Reply #4 on: June 30, 2015, 05:11:55 AM »
Aw, thanks. Feels really good to read these comments. Motivates me to keep on hacking.^-^