SBDevelopment
Search…
Usage

The commands:

  • /af info - Information about the plugin
  • /af help - Get list of commands
  • /af reload - reload the plugin
  • /af create <name> - Create an itemframe section.
  • /af addframes <name> - Add one/more frame(s) to an itemframe section
  • /af take <name> <player> - 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] <imageuser> - Give a User a picture of the ImageUser.
  • /af reset <name> <framenumber/all> - Reset one/all itemframes
  • /af remove <name> - Remove an itemframe section.

The signs:

ActionFoto contains a Traincarts sign.
[train] actionfoto <name>

Usage of 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:
1
#Background layer:
2
'1':
3
Type: BACKGROUND
4
Value: https://sbdplugins.nl/images/random.png
5
#Playerskin layer:
6
'1':
7
Type: PLAYERSKIN
8
Value: https://sbdplugins.nl/images/player3d.png?uuid=%UUID%
9
X: 40 #X position, from top left
10
Y: 40 #Y position, from top left
11
#Image player
12
'1':
13
Type: IMAGE
14
Value: https://sbdplugins.nl/images/random.png
15
X: 30 #X position, from top left
16
Y: 20 #Y position, from top left
17
Width: 60 #Width (pixels)
18
Height: 40 #Height (pixels)
19
#Text layer
20
'1':
21
Type: TEXT
22
Value: 'Hello!'
23
X: 20 #X position, from top left
24
Y: 30 #Y position, from top left
25
#Font is optional!
26
Font:
27
Name: Tahoma #The font name (must be supported by java)
28
Type: 0 #The font type (see below)
29
Size: 8.0 #Font size (pixels)
Copied!
You can find a list of available fonts here. The types are: 0 (Plain), 1 (Bold) and 2 (Italic).
Copy link
Edit on GitHub