• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

“CameraObscura”的版本间的差异

来自Minecraft插件百科
跳转至: 导航搜索
第16行: 第16行:
 
==如何创建图片==
 
==如何创建图片==
 
# 使用 "相机" 来拍照,  并且需要一张胶卷 (默认卷轴的材质是一张纸片: 你不能用普通的纸来拍照). 用相机右键一个玩家,一张胶卷就会被消耗并成为照片.
 
# 使用 "相机" 来拍照,  并且需要一张胶卷 (默认卷轴的材质是一张纸片: 你不能用普通的纸来拍照). 用相机右键一个玩家,一张胶卷就会被消耗并成为照片.
# 三脚架相机. 你必须建造一个三脚架.放置熔炉, 音符盒, 和... camera at the side of note block. Than take a photo paper and click to button (camera lens). Note: Both cameras supported three types of photos defined by distance from camera to player: head photo, top-half photo, full length photo. All photos are printed on the background. Backgrounds are png-images uploaded to specified folder (/CameraObscura/backgrounds/). Camera obscura can be configured to use any predefined background.
+
# 三脚架相机. 你必须建造一个三脚架.放置熔炉, 音符盒, 和... '相机'(按钮) .然后手持胶卷右键按钮 . 注意: 相机也支持3种拍摄类型: 头像, 半身照, 全身照. 所有照片都有背景. 背景是上传到特定文件夹内的png格式的图片 (/CameraObscura/backgrounds/). 你可以使用其他背景.
# Create photo of any player (even offline player) using commands. Hold one sheet of photo paper in hand and type commands: /photo head <player name>, /photo top <player name>, * /photo full <player name>
+
# 使用指令创建任何玩家的照片 (包括离线玩家) . 手持胶卷并输入: /photo head <玩家名>, /photo top <玩家名>, * /photo full <玩家名>
# Create a picture based on image file. You need to upload image (only png-file supported now) to /CameraObscura/images/ folder and type /photo image <image name>
+
# 图片文件作为照片. 你需要上传图片 (暂时只支持png格式) /CameraObscura/images/ 并输入 /photo image <图片名>
# Create a picture based on colored wool pixel-art, You need to create a picture using colored wool. Type /photo brush to enable brush mode. Left clicking with brush (feather item) will select 1st point (top left!), right clicking will select 2nd point (bottom right). Type command:
+
# 创建彩色羊毛像素风格图片. 输入 /photo brush 来启用笔刷模式. 左键用笔刷 (羽毛) 会选择第一点 (左上角), 右键会选择第二点 (右下角). 输入指令:
* /photo paint <picture_name> to create a picture resized to 128x128
+
* /photo paint <图片名> 来创建128x128尺寸的图片
* /photo paint center <picture_name> to create a picture and place it at center of the map. Picture will not be resized so it could be too little... Note: you can repaint previously created picture using command /photo repaint {center} <picture_name> (don't forget to hold in hand picture that you need to repaint)
+
* /photo paint center <图片名> 来创建未调整尺寸的图片. 注意: 你只能重绘已创建的图片 .你可以使用指令 /photo repaint {center} <图片名> (不要忘了把你想要重绘的图片拿在手里)
 
==如何创建三脚架相机==
 
==如何创建三脚架相机==
 
=指令=
 
=指令=
* /photo help [command] - 帮助页面
+
* /photo help [指令] - 帮助页面
 
* /photo camera - 给予你一个相机
 
* /photo camera - 给予你一个相机
* /photo paper [amount] - 给予你一个胶卷
+
* /photo paper [数量] - 给予你一个胶卷
 
* /photo brush - 开关笔刷模式
 
* /photo brush - 开关笔刷模式
* /photo list [page] [name mask] - 显示照片列表
+
* /photo list [页数] [name mask] - 显示照片列表
* /photo files [page] [filename mask] - 显示文件列表 (图片)
+
* /photo files [页数] [filename mask] - 显示文件列表 (图片)
* /photo download <name> <url> - download picture from <url> and save it with name <name> at images folder (not fully tested)
+
* /photo download <name> <url> - <url>中下载并保存名为<name>的图片到images文件夹内 (未完全测试)
* /photo remove <id> - remove picture with defined id
+
* /photo remove <id> - 移除指定ID的照片
* /photo rename <id> <new name> - rename picture
+
* /photo rename <id> <new name> - 重命名照片
* /photo allowcopy [id] - toggles copy mode for picture
+
* /photo allowcopy [id] - 开关图片的复制模式
* /photo owner [id] <new owner> - set new owner for defined picture
+
* /photo owner [id] <新主人> - 设置图片的新主人
* /photo head [player] - create a head-shot photo
+
* /photo head [玩家名] - 创建头像照片
* /photo top [player] - create a top-half photo
+
* /photo top [玩家名] - 创建半身照照片
* /photo full [player] - create a full-length photo
+
* /photo full [玩家名] - 创建全身照照片
* /photo image <filename> - create a new picture using image
+
* /photo image <文件名> - 创建图片
* /photo image <filename> <dimension|auto> - create a large picture using image file. For example: /photo image image.jpg 3x4 will create a large picture that contains 3 rows and 4 columns of maps (totally 12 pictures (map items))
+
* /photo image <文件名> <dimension|auto> -创建一张大的图片. 举个例子: /photo image image.jpg 3x4 会创建3X4的图片 (总共12张图片))
* /photo paint {center} <name> - paint a pixel-art picture, resized to 128x128
+
* /photo paint {center} <name> - 获得像素风格的照片, 尺寸为128x128
* /photo repaint {center} <name> - paint a pixel-art picture at the center of map (not resized)
+
* /photo repaint {center} <name> - 绘出像素风格的图片 (未调整图片尺寸)
* /photo id - show information about map in your hands
+
* /photo id - 显示你手里的图片信息
* /photo give <picture id> - gives a picture with defined id to you
+
* /photo give <图片id> - 给予指定ID的图片
* /photo reload - reload configuration
+
* /photo reload - 重载配置
* /photo rst [player] - repaint pictures
+
* /photo rst [玩家名] - 重新画图
* /photo cfg - displays configuration
+
* /photo cfg - 显示配置
 
=权限=
 
=权限=
camera-obscura.config - allows to use basic commands
+
* camera-obscura.config - 允许使用基础指令
camera-obscura.givecamera - allows to use command /photo camera to give camera to player
+
* camera-obscura.givecamera - 允许使用指令 /photo camera 来获得相机
camera-obscura.givepaper - allows to use command /photo paper to give photo paper to player
+
* camera-obscura.givepaper - 允许使用指令 /photo paper to 来获得胶卷
camera-obscura.pixelart - allows to use command /photo paint to create a picture based on the colored wool pixel-art
+
* camera-obscura.pixelart - 允许使用指令 /photo paint 来创建像素风格图片
camera-obscura.remove - allows to use command /photo remove
+
* camera-obscura.remove - 允许使用指令 /photo remove
camera-obscura.rename - allows to use command /photo rename
+
* camera-obscura.rename - 允许使用指令 /photo rename
camera-obscura.allowcopy - allows to use command /photo allowcopy
+
* camera-obscura.allowcopy - 允许使用指令 /photo allowcopy
camera-obscura.owner - allows to use command /photo allowcopy
+
* camera-obscura.owner - 允许使用指令 /photo allowcopy
camera-obscura.owner.all - player with this permission is "owner of all pictures (maps)" (he can remove, repaint and rename pictures created by other players)
+
* camera-obscura.owner.all - 有这个权限的人被视为所有照片的主人 (可以移除、重绘和重命名其他玩家的照片)
camera-obscura.photo - allows to use commands /photo head, /photo top, /photo full
+
* camera-obscura.photo - 允许使用指令s /photo head, /photo top, /photo full
camera-obscura.image - allows to use command /photo image
+
* camera-obscura.image - 允许使用指令 /photo image
camera-obscura.image.large - allows to create large pictures using command /photo image <filename> <dimension|auto>
+
* camera-obscura.image.large - 允许使用 /photo image <文件名> <dimension|auto> 创建大图片
camera-obscura.repaint - allows to use commands /photo repaint
+
* camera-obscura.repaint - 允许使用指令s /photo repaint
camera-obscura.handy.use - allows to use photo camera
+
* camera-obscura.handy.use -允许使用相机
camera-obscura.tripod-camera.use - allows to use tripod camera
+
* camera-obscura.tripod-camera.use - 允许使用三脚架相机
camera-obscura.set-sign - allows to set configuration sign for tripod-cameras
+
* camera-obscura.set-sign - 允许设置三脚架相机的配置标志
camera-obscura.tripod-camera.build - allows to build tripod-cameras
+
* camera-obscura.tripod-camera.build - 允许建筑三脚架相机
camera-obscura.fireproof-wool - if player has this permission wool will not burn after painting picture
+
* camera-obscura.fireproof-wool - 玩家绘画不消耗羊毛
camera-obscura.files - allows to use command /photo files
+
* camera-obscura.files - 允许使用指令 /photo files
camera-obscura.files.autocreate - enable personal folder autocreation (requires enabled personal-folders in config.yml)
+
* camera-obscura.files.autocreate - 启用自动创建个人文件夹 (需要在配置内启用personal-folders)
camera-obscura.files.all - allows to use command /photo files p:<player name> to list personal folder content of any player
+
* camera-obscura.files.all - 允许使用指令 /photo files p:<玩家名> 来显示任何玩家的文件夹
 
=配置=
 
=配置=
 
  general:
 
  general:
   check-updates: true  # Check updated version of Camera Obscura
+
   check-updates: true  # 检测插件更新
   language: english  # Language. By default supported english and russian
+
   language: english  # 语言. 默认支持英语和俄语
   language-save: false # Save language file
+
   language-save: false # 保存语言文件
 
  items:
 
  items:
  # Brush used to select wool-painting. Default: feather item
+
  # 笔刷材质,默认为羽毛
 
   brush-id: 288
 
   brush-id: 288
  # Photo paper used everytime when you creating a picture or photo. Default: PAPER:1
+
  # 胶卷材质. 默认:
 
   photo-paper:
 
   photo-paper:
 
     id: 339
 
     id: 339
 
     data: 1
 
     data: 1
  # Photo camera used to develop a photo or build a tripod camera. Default: WATCH:1
+
  # 相机材质. 默认:
 
   photo-camera:
 
   photo-camera:
 
     id: 347
 
     id: 347
 
     data: 1
 
     data: 1
  # Enable build-in recipces. If you need to use other recipe manager set this variable to false
+
  # 启用配方.  
 
   use-recipes: true
 
   use-recipes: true
  # If set to true - tripod camera's button (lens) will turned to photo camera when breaking
+
  # 如果设置为 true -三脚架相机快门将会在破坏时变为相机
 
   obscura-drop: true
 
   obscura-drop: true
 
  pictures:
 
  pictures:
  # Deleted image will be used when you creating new ones.
+
  # 删除图像将在创建新图像时启用.
 
   reuse-deleted-maps: true
 
   reuse-deleted-maps: true
  # Wool pictures with sizes lesser than this values will be not printed at pictures
+
  # 小于这个值的尺寸的羊毛图片将不会显示
 
   minimal-pixel-art-size: 16
 
   minimal-pixel-art-size: 16
  # Default backgrounds. Random - will be select on file from the background folder randomly
+
  # 默认背景. Random - 从背景文件夹内随机选取
 
   default-background: random
 
   default-background: random
  # Picture limit. If player reach it (create 15 photoes) he must delete picture to create new
+
  # 图片限制. 如果玩家达到了上限,他必须删除旧照片才能创建新的
 
   pictures-per-owner: 15
 
   pictures-per-owner: 15
  # Burn wool after painting picture
+
  # 绘画消耗羊毛
 
   burn-pixel-art-wool: true
 
   burn-pixel-art-wool: true
  # You can save any skin at /skins/ directory - this skin will be used if player has now skin or if skin was not downloaded from the server
+
  # 你可以在 /skins/ 保存任何皮肤
 
   default-skin: default_skin.png
 
   default-skin: default_skin.png
  # Skin will be downloaded from here:
+
  # 你可以在这下载皮肤:
 
   skin-url: http://s3.amazonaws.com/MinecraftSkins/
 
   skin-url: http://s3.amazonaws.com/MinecraftSkins/
 
   
 
   
  # Configure displaying of picture name
+
  # 配置图片名
 
  picture-name:
 
  picture-name:
  # Default state of show/hide picture names for new images
+
  # 新图像 显示/隐藏 图片名称的默认状态
 
   show-at-new-pictures: true
 
   show-at-new-pictures: true
  # x,y - coordinages for picture name (at canvas)
+
  # x,y - 图片名在画布上的坐标
 
   x: 1
 
   x: 1
 
   y: 122
 
   y: 122
  # Font name (must be installed in system)
+
  # 字体名 (系统内必须已安装该字体)
 
   font-name: Serif
 
   font-name: Serif
  # Font size
+
  # 字体大小
 
   font-size: 9
 
   font-size: 9
  # Font color
+
  # 字体颜色
 
   font-color: '#000000'
 
   font-color: '#000000'
  # Enable stroke (outline picture name)
+
  # 启用笔画
 
   stroke: true
 
   stroke: true
  # Stroke color
+
  # 笔画颜色
 
   stroke_color: '#FFFFFF'
 
   stroke_color: '#FFFFFF'

2018年2月21日 (三) 21:05的版本

介绍

CameraObscura可以给你的世界带来摄影和图片.你可以使用相机来拍照,或是查看图片.

特点

  • 用相机拍照 (三种照片: 全身照, 半身照, 头像)
  • 用三脚架相机拍摄照片,支持经济插件 (玩家必须付费拍照)
  • 创建png格式的图片
  • 创建由彩色羊毛组成的像素风格图片
  • 拥有版权保护的图片
  • 照片所有者特点: 限制每个人的照片数, 版权保护, 改变照片所有权.
  • 移除照片
  • 相机和胶卷合成配方, 创建三脚架相机不需要指令.

用法

  • 安装插件
  • 配置插件 (编辑config.yml)
  • 上传一些背景 (推荐尺寸:128x128), 上传图片到插件文件夹内.

如何创建图片

  1. 使用 "相机" 来拍照, 并且需要一张胶卷 (默认卷轴的材质是一张纸片: 你不能用普通的纸来拍照). 用相机右键一个玩家,一张胶卷就会被消耗并成为照片.
  2. 三脚架相机. 你必须建造一个三脚架.放置熔炉, 音符盒, 和... '相机'(按钮) .然后手持胶卷右键按钮 . 注意: 相机也支持3种拍摄类型: 头像, 半身照, 全身照. 所有照片都有背景. 背景是上传到特定文件夹内的png格式的图片 (/CameraObscura/backgrounds/). 你可以使用其他背景.
  3. 使用指令创建任何玩家的照片 (包括离线玩家) . 手持胶卷并输入: /photo head <玩家名>, /photo top <玩家名>, * /photo full <玩家名>
  4. 图片文件作为照片. 你需要上传图片 (暂时只支持png格式) 到 /CameraObscura/images/ 并输入 /photo image <图片名>
  5. 创建彩色羊毛像素风格图片. 输入 /photo brush 来启用笔刷模式. 左键用笔刷 (羽毛) 会选择第一点 (左上角), 右键会选择第二点 (右下角). 输入指令:
  • /photo paint <图片名> 来创建128x128尺寸的图片
  • /photo paint center <图片名> 来创建未调整尺寸的图片. 注意: 你只能重绘已创建的图片 .你可以使用指令 /photo repaint {center} <图片名> (不要忘了把你想要重绘的图片拿在手里)

如何创建三脚架相机

指令

  • /photo help [指令] - 帮助页面
  • /photo camera - 给予你一个相机
  • /photo paper [数量] - 给予你一个胶卷
  • /photo brush - 开关笔刷模式
  • /photo list [页数] [name mask] - 显示照片列表
  • /photo files [页数] [filename mask] - 显示文件列表 (图片)
  • /photo download <name> <url> - 从 <url>中下载并保存名为<name>的图片到images文件夹内 (未完全测试)
  • /photo remove <id> - 移除指定ID的照片
  • /photo rename <id> <new name> - 重命名照片
  • /photo allowcopy [id] - 开关图片的复制模式
  • /photo owner [id] <新主人> - 设置图片的新主人
  • /photo head [玩家名] - 创建头像照片
  • /photo top [玩家名] - 创建半身照照片
  • /photo full [玩家名] - 创建全身照照片
  • /photo image <文件名> - 创建图片
  • /photo image <文件名> <dimension|auto> -创建一张大的图片. 举个例子: /photo image image.jpg 3x4 会创建3X4的图片 (总共12张图片))
  • /photo paint {center} <name> - 获得像素风格的照片, 尺寸为128x128
  • /photo repaint {center} <name> - 绘出像素风格的图片 (未调整图片尺寸)
  • /photo id - 显示你手里的图片信息
  • /photo give <图片id> - 给予指定ID的图片
  • /photo reload - 重载配置
  • /photo rst [玩家名] - 重新画图
  • /photo cfg - 显示配置

权限

  • camera-obscura.config - 允许使用基础指令
  • camera-obscura.givecamera - 允许使用指令 /photo camera 来获得相机
  • camera-obscura.givepaper - 允许使用指令 /photo paper to 来获得胶卷
  • camera-obscura.pixelart - 允许使用指令 /photo paint 来创建像素风格图片
  • camera-obscura.remove - 允许使用指令 /photo remove
  • camera-obscura.rename - 允许使用指令 /photo rename
  • camera-obscura.allowcopy - 允许使用指令 /photo allowcopy
  • camera-obscura.owner - 允许使用指令 /photo allowcopy
  • camera-obscura.owner.all - 有这个权限的人被视为所有照片的主人 (可以移除、重绘和重命名其他玩家的照片)
  • camera-obscura.photo - 允许使用指令s /photo head, /photo top, /photo full
  • camera-obscura.image - 允许使用指令 /photo image
  • camera-obscura.image.large - 允许使用 /photo image <文件名> <dimension|auto> 创建大图片
  • camera-obscura.repaint - 允许使用指令s /photo repaint
  • camera-obscura.handy.use -允许使用相机
  • camera-obscura.tripod-camera.use - 允许使用三脚架相机
  • camera-obscura.set-sign - 允许设置三脚架相机的配置标志
  • camera-obscura.tripod-camera.build - 允许建筑三脚架相机
  • camera-obscura.fireproof-wool - 玩家绘画不消耗羊毛
  • camera-obscura.files - 允许使用指令 /photo files
  • camera-obscura.files.autocreate - 启用自动创建个人文件夹 (需要在配置内启用personal-folders)
  • camera-obscura.files.all - 允许使用指令 /photo files p:<玩家名> 来显示任何玩家的文件夹

配置

general:
  check-updates: true  # 检测插件更新
  language: english  # 语言. 默认支持英语和俄语
  language-save: false # 保存语言文件
items:
# 笔刷材质,默认为羽毛
  brush-id: 288
# 胶卷材质. 默认:纸
  photo-paper:
    id: 339
    data: 1
# 相机材质. 默认:钟
  photo-camera:
    id: 347
    data: 1
# 启用配方. 
  use-recipes: true
# 如果设置为 true -三脚架相机快门将会在破坏时变为相机
  obscura-drop: true
pictures:
# 删除图像将在创建新图像时启用.
  reuse-deleted-maps: true
# 小于这个值的尺寸的羊毛图片将不会显示
  minimal-pixel-art-size: 16
# 默认背景. Random - 从背景文件夹内随机选取
  default-background: random
# 图片限制. 如果玩家达到了上限,他必须删除旧照片才能创建新的
  pictures-per-owner: 15
# 绘画消耗羊毛
  burn-pixel-art-wool: true
# 你可以在 /skins/ 保存任何皮肤
  default-skin: default_skin.png
# 你可以在这下载皮肤:
  skin-url: http://s3.amazonaws.com/MinecraftSkins/

# 配置图片名
picture-name:
# 新图像 显示/隐藏 图片名称的默认状态
  show-at-new-pictures: true
# x,y - 图片名在画布上的坐标
  x: 1
  y: 122
# 字体名 (系统内必须已安装该字体)
  font-name: Serif
# 字体大小
  font-size: 9
# 字体颜色
  font-color: '#000000'
# 启用笔画 
  stroke: true
# 笔画颜色
  stroke_color: '#FFFFFF'