Jump to content

Bunsen

Member
  • Posts

    7
  • Joined

  • Last visited

Everything posted by Bunsen

  1. Bunsen

    Sign Upload API

    Does Discord Core work for you in any other plug-in? If you want it to specifically post to a channel you must ensure the channel in the config matches the name of the channel on your Discord server Discord Core is set-up on.
  2. Bunsen

    Sign Upload API

    Please use Support tab.
  3. Version 1.0.0

    707 downloads

    Allow players to upload sign art to Imgur including optional integration to Server Rewards and Discord Core. SAVE YOUR ART! DEPENDS ON http://umod.org/plugins/imgur-api About This plug-in allows players with the appropriate permission level the ability to upload the art of an in-game sign they are looking at to Imgur. The plug-in may optionally be integrated with DiscordCore, to DM the player the Imgur link or post to a channel, and/or ServerRewards, to deduct a configurable amount of RP from the player's balance. To prevent players from spamming the functionality, a configurable cooldown is included. This plug-in is NOT a copy of Sign Artist, which allows players to download pictures from a web address to the server's file storage. SignUploadAPI delivers the opposite functionality: giving players a way to upload pictures from the server's file storage to a web address on Imgur. Photographs also work! If a Photo Frame is selected and it contains a Photo, the photo file itself will be exported. Configuration { "Chat Command": "uploadsign", "Use Discord Core": false, "Discord Channel to Upload to": "", "Use Server Rewards": false, "Cost to Upload": 20, "Cooldown Between Uploads (seconds)": 30.0 } Use Discord Core: Upon enabling this, if DiscordCore is successfully loaded players who have linked their Discord accounts with their Steam accounts on the server will receive a DM including the picture. This does not post to a channel on it's own. Discord Channel to Upload to: DiscordCore will post the file to the specified channel on your Discord server if not left empty. Cost to Upload: This is the amount of RP which is deducted upon an upload attempt to Imgur if Use Server Rewards is set to true. Permissions signuploadapi.use Allows the player or group to use the plugin. signuploadapi.free Allows the player or group to use the plugin free of charge. Chat Commands While the command is configurable, by default it is set to /uploadsign /uploadsign "Title of Image(Optional)" Developer API On any sign successfully being uploaded to Imgur, the following hook is called. void OnSignUploaded(string url, string title, ulong playerID)
    Free

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.4m
Total downloads
Customers
10.8k
Customers served
Files Sold
155.4k
Marketplace sales
Payments
3.3m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.