diff --git a/actionfoto/faq.md b/actionfoto/faq.md deleted file mode 100644 index 112e95d..0000000 --- a/actionfoto/faq.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: Frequently Asked Questions -description: -published: true -date: 2024-12-20T18:12:18.661Z -tags: -editor: markdown -dateCreated: 2024-12-20T18:12:18.661Z ---- - -# FAQ - -## Images aren't send to the panel. How to fix? -First check if you don't get any errors. If not, make sure the name of the ActionFoto board is also the name of a ThemePark ride. -If you get an error, please check below. - -### I get an `PacketTooBigException`: -The error looks like this: `com.mysql.jdbc.PacketTooBigException: Packet for query is too large. You can change this value on the server by setting the max_allowed_packet' variable.` - -As you can see, you have to change the max_allowed_packet setting. Open the `my.cnf` file and change `max_allowed_packet` from 32M to 256M. This will allow us to send bigger images. \ No newline at end of file diff --git a/actionfoto/usage.md b/actionfoto/usage.md deleted file mode 100644 index 23959ad..0000000 --- a/actionfoto/usage.md +++ /dev/null @@ -1,73 +0,0 @@ ---- -title: Usage -description: -published: true -date: 2024-12-20T18:11:11.078Z -tags: -editor: markdown -dateCreated: 2024-12-20T18:11:11.078Z ---- - -# Usage - -## Commands: -- `/af info` - Information about the plugin -- `/af help` - Get list of commands -- `/af reload` - reload the plugin -- `/af create ` - Create an itemframe section. -- `/af addframes ` - Add one/more frame(s) to an itemframe section -- `/af take ` - Take a picture of an/multiple user(s) and add it to the next available itemframe in an itemframe section. The player can be either a name or a radius (r=5). You can't use the Minecraft selectors! -- `/af give [user] ` - Give a User a picture of the ImageUser. -- `/af reset ` - Reset one/all itemframes -- `/af remove ` - Remove an itemframe section. - -## Permissions: - -- `af.admin` - The general admin permission -- `af.give` - The give command permission - -## Signs: -ActionFoto contains a Traincarts sign. - -``` -[train] -actionfoto - -``` - -## Layer system: -The existing layers are: `BACKGROUND` (full size image), `PLAYERSKIN` (replaces `%UUID%` by the player UUID), `IMAGE` (a normal image), `TEXT` (just text, use `%PLAYERNAME%` for the name of the player). - -See the examples below: -```yml -#Background layer: -'1': - Type: BACKGROUND - Value: https://sbdplugins.nl/images/random.png -#Playerskin layer: -'1': - Type: PLAYERSKIN - Value: https://sbdplugins.nl/images/player3d.png?uuid=%UUID% - X: 40 #X position, from top left - Y: 40 #Y position, from top left -#Image player -'1': - Type: IMAGE - Value: https://sbdplugins.nl/images/random.png - X: 30 #X position, from top left - Y: 20 #Y position, from top left - Width: 60 #Width (pixels) - Height: 40 #Height (pixels) -#Text layer -'1': - Type: TEXT - Value: 'Hello!' - X: 20 #X position, from top left - Y: 30 #Y position, from top left - #Font is optional! - Font: - Name: Tahoma #The font name (must be supported by java) - Type: 0 #The font type (see below) - Size: 8.0 #Font size (pixels) -``` -You can find a list of [available fonts here](https://alvinalexander.com/blog/post/jfc-swing/swing-faq-list-fonts-current-platform/). The types are: 0 (Plain), 1 (Bold) and 2 (Italic). \ No newline at end of file