Search the Community
Showing results for tags 'drawing'.
-
Version 1.0.4
74 downloads
Canvas provides your server a new way to allow your community to connect or play against eachother in an art pixel war. This is heavily inspired by r/place. Features Large canvases that players in your server can draw on Three different types of pixel group-based payments for fresh or overtaking fees Group-based cooldowns for placing pixels Zooming in and out / scrolling capabilities, or coordinate inputs Pixels are registered per players that overtook them Pixel age tracking Exporting to Imgur or PNG in super-size resolutions (API optimal) Next Update Multi-selection support — for selective pixels exporting + API Custom empty-pixel background colors (dark/light mode or paper) Viewer settings — saved to file Timelapse support — record placed pixels + API Pixel notes — for any purchased pixels, you can leave notes More exporting options Roadmap Load in the actual 2022-edition r/place datasets into Canvas Add image loader into the Canvas Add private canvases, multiple global canvas pages and showcase lists Integrate export Canvases onto signs (can already do it by exporting the Canvas to Imgur, and using SignArtist to place it on) Pixel notes Live feed of other players' selected pixels API byte [] ExportCanvas ( int scale = 25, int yOffset = 1, bool transparent = false, int blur = 0 ); // Exports PNG squared Canvas void UploadCanvasToImgur ( Action<string> onUpload, int scale = 25, int yOffset = 1, bool transparent = false, int blur = 0 ); void SetPixel ( int x, int y, string color, string note, ulong playerId ); // playerId can be 0 to anonymously set it void ClearPixel ( int x, int y ); void ApplyImage ( string url ); // Downloads and applies the pixels of an image - make sure it's the same resolution as the canvas byte [] ExportCanvas ( Canvas.Painting painting, int scale = 25, int yOffset = 1, bool transparent = false, int blur = 0 ); // Exports PNG squared Canvas void UploadCanvasToImgur ( Canvas.Painting painting, Action<string> onUpload, int scale = 25, int yOffset = 1, bool transparent = false, int blur = 0 ); void SetPixel ( Canvas.Painting painting, int x, int y, string color, string note, ulong playerId ); // playerId can be 0 to anonymously set it void ClearPixel ( Canvas.Painting painting, int x, int y ); void ApplyImage ( Canvas.Painting painting, string url ); // Downloads and applies the pixels of an image - make sure it's the same resolution as the canvas Configuration Permissions Canvas.use: To be able to call the /canvas and do any activity. Canvas.export: To be able to run the Export UI command and see the button on the Canvas.$5.24 -
Version 1.0.0
437 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